Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jooray/video-slide-extractor
Two simple scripts to extract keyframes with set number of changes and then filter out frames with faces
https://github.com/jooray/video-slide-extractor
Last synced: 4 months ago
JSON representation
Two simple scripts to extract keyframes with set number of changes and then filter out frames with faces
- Host: GitHub
- URL: https://github.com/jooray/video-slide-extractor
- Owner: jooray
- License: unlicense
- Created: 2020-07-13T19:46:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-13T19:57:23.000Z (over 4 years ago)
- Last Synced: 2024-08-01T13:32:55.521Z (7 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# video-slide-extractor
Two simple scripts to extract keyframes with set number of changes and then filter out frames with faces
You've listened to a great talk and you would like to go over slides and include them in your notes.
You don't want to watch the whole video again, so you:- Extract keyframes that are likely to contain new slides (extract-frames.sh)
- If the conference has good production, you filter out every slide that has faces. Since this is fuzzy, you can go over two directories - faces/ and the original directory (filter-faces.sh)## Installation
You need opencv, including contrib for filtering faces, [facedetect](https://www.thregr.org/~wavexx/software/facedetect/)
and ffmpeg.## Usage
Extract by simply running the script:
```shell
extract-frame.sh path-to-video.mp4
```Output slides will be in path-to-video-slides/
You can customize how it works
```shell
extract-frame.sh path-to-video.mp4 output-slides 0.4
```This will extract keyframes that changed 40% or more over the previous keyframe
and resulting slides are saved into output-slides/Go to output directory and run
```shell
filter-faces.sh *.png
```## If you liked these script, please donate
If you like these scripts, [support me by sending a small donation](https://juraj.bednar.io/en/support-me/)