qqwweee / keras-yolo3

A Keras implementation of YOLOv3 (Tensorflow backend)
MIT License
7.14k stars 3.44k forks source link

Does anyone know how to extract frames out from saved video? #702

Open InseongHa opened 4 years ago

InseongHa commented 4 years ago

I'm on a small project for detecting edges from cracked concrete walls. I just successed to get videos from taking shoot from my webcam through 'yolo_video.py.' The next steps I want is to binarize and skeletonize, then detect edges from the video. I used some techniques(?) for framing out images, but didn't work. It said there was no config file in my model and blah blah some another problems.

Now I'm wondering what I should do for framing out from my video. Please, I'm using the whole time for this.

cosimo17 commented 4 years ago

Use cv2.VideoCapture or use ffmpeg. This can help to extract frames from video file.