- Uploaded some sample slides of Youtube Lectures by Prof. Shree K. Nayar in this repo.
- The code to extract the slides from videos is also present in this repo and it is mainly inspired from this repository
- The code uses OpenCV's Background Subtraction algorithm to detect the change in the frame.
- I have modified to work it with Prof. Shree K. Nayar's Youtube lectures.
- This project converts a video presentation into a deck of pdf slides by capturing screenshots of unique frames. Note: Before uploading the slides' PDFs to this repository, I compressed them using some online tool.
python video2pdfslides.py <video_path>
python video2pdfslides_for_multiple_vids.py <directory_path>
- will use Tesseract for OCR in the slides.