https://github.com/pariazar/convertvideos2images
CV2I is command line tool for collecting data from videos frames
https://github.com/pariazar/convertvideos2images
Last synced: 11 months ago
JSON representation
CV2I is command line tool for collecting data from videos frames
- Host: GitHub
- URL: https://github.com/pariazar/convertvideos2images
- Owner: pariazar
- Created: 2019-12-26T16:05:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-26T19:07:07.000Z (over 6 years ago)
- Last Synced: 2025-01-07T20:34:42.655Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ConvertVideos2Images
CV2I (Convert Videos to Images) is command line tool that you can easily convert your videos in one directory to multiple images
it used for creating dataset and training model in CNN
simple definition: CV2I is dataset creator with videos
features
collect image data from video resize them after saving files automatically
set quality of the images
Requirements
install Anaconda distribution Python 3.7 version from here
install libs with using the command below in Anaconda prompt
pip install numpy matplotlib opencv-contrib-python PIL
Usage
1- download tool with using the command below
git clone https://github.com/hamedpa/ConvertVideos2Images
2- execute program with using the command below
python cv2iDatasets.py
3- Enter inputs with using the command below
SAMPLE OF INPUTS
format of your video (Example: mp4) : mkv
format of your images (Example: jpg) : jpg
please enter a path that your videos exist there : G:/videos
please enter frame Rate : 10
Please enter seconds for the video to start : 10
do you need to resize images (n/y) : n
4- All images will save in images directory
you can use this data in deep learning