The Video-to-PDF Converter is a Python project that lets you extract slides from a video and converts them into a single PDF document.
This project is implemented using OpenCV, img2pdf, and Gradio, a Python library that makes it easy to create a user interface for your code.
Hugging face space : Click here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
-
Install Prerequisites
pip install -r requirements.txt
-
Run
app.py
to start the application.python app.py
After you've launched the application, you'll see a user interface where you can upload a video file, adjust a threshold slider for slide extraction, and a button to begin the extraction and conversion process.
- Upload a video file from which you want to extract slides.
- Adjust the Threshold slider to optimize slide extraction. A higher threshold will result in fewer extracted slides.
- Press "Convert" to begin the extraction and conversion process.