Vedio_to_Frames.py
is a Python script created by Bharat Sharma (23MDT1051) for extracting frames from a video. This README provides information on the script's requirements and implementation.
-
Python: Ensure Python is installed on your system.
-
OpenCV: Install the OpenCV library using the following command:
pip install opencv-python
-
Clone the Repository:
git clone https://github.com/Sh-bharat/Vedio_to_Frames.git cd Vedio_to_Frames
-
Run the Script:
python Vedio_to_Frames.py
-
Follow the Prompts:
- Enter the path to the input video file.
- Enter the path to the output directory.
-
Review Output:
- The script will create frames from the video at a specified interval and save them in the specified output directory.
Enter the path to the input video file: path/to/input/video.mp4
Enter the path to the output directory: path/to/output/directory
Created output directory: path/to/output/directory
Saved frame 0 to path/to/output/directory/frame0.jpg
Saved frame 1 to path/to/output/directory/frame1.jpg
...
Bharat Sharma
- Roll Number: 23MDT1051
- Gmail: [[email protected]]