An open API service indexing awesome lists of open source software.

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

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