Kya matlab teacher slides nahi upload karte?
My personal project for extracting slides/keyframes from a class recording/video and make a pdf with the selected images.
Uses Python, OpenCV, ImageHash and matplotlib.
- Based on Python3 and OpenCV library
- Uses fast Image Difference Hashing algorithm
- Completely modular structure
- Each module can be executed independently
- Image to PDF converter module
- Video analysis progress bar
- Allows to visualise frame differences using
matplotlib
- Allows to adjust extracting threshold to extract more or less slides accordingly
- Run
frameSelector
module to find that perfect threshold value
- Fork and clone the repository on your local machine.
- Run
pip install -r requirements.txt
- Edit
VIDEO_PATH
variable inmain.py
according to your video file. - Run
python main.py
- Follow the prompts in terminal
- Execute
frameSelector.py
to fine tune threshold value after completion of video analysis once. - Done
Made with <3 by DC