Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Tyrannosaurus1234/GetFaces
Python script for extracting faces from video files
https://github.com/Tyrannosaurus1234/GetFaces
Last synced: 4 months ago
JSON representation
Python script for extracting faces from video files
- Host: GitHub
- URL: https://github.com/Tyrannosaurus1234/GetFaces
- Owner: Tyrannosaurus1234
- License: mit
- Created: 2018-02-08T02:41:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-17T09:52:11.000Z (about 7 years ago)
- Last Synced: 2024-08-01T13:25:29.590Z (7 months ago)
- Language: Python
- Size: 39.1 KB
- Stars: 22
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GetFaces
Python script for extracting faces from video files## Usage
`python getfaces.py -i TARGET_IMG -v INPUT_VIDEO -t TOLERANCE -f FPS -c CROP`**TARGET_IMG**
An image (photo or screenshot from video) of the face you're scanning for, *e.g. nickcage.png*
**INPUT_VIDEO**
The video to be scanned *e.g. interview.mkv*
**TOLERANCE**
Optional. A value from 0.1 to 1.0 that represents the tolerance of the face detector, lower values make it more strict. If omitted will default to `0.6`.
**FPS**
Optional. Amount of frames to scan and potentially extract per second of footage. If omitted will default to `1`.
**CROP**
Optional. Whether to crop exported frames around the target's face. If omitted will default to `true`, if `false` will export full, uncropped frames.
## Dependencies
numpyface_recognition
opencv-python >= 3.31