It is used to crop objects from video. It canbe used to create dataset for classification training.
Run program with below command.
python objectExtractFromVideo.py --video video.mp4 -x 250 -y 250
Press space
key to pause video,select roi and press 'enter'
Press q
to exit the program
Install below libraries.
pip install opencv-python