zhaoyanglijoey / yolov3

Pytorch implementation of real time object detection algorithm YOLOv3
MIT License
21 stars 14 forks source link

OpenCV error/exception #1

Open alpizano opened 5 years ago

alpizano commented 5 years ago

The webcam loaded up fine and seems to be detecting objects (used python detector.py -v -w -i 0) on a Windows 10 x64 bit machine.

The error/exception is (screen shot here: https://gyazo.com/f01db41e98543af062d4edb9987a0505):

[ERROR:0] global D:\OpenCV4\opencv-master\modules\videoio\src\cap.cpp (392) cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.1.1-dev) D:\OpenCV4\opencv-master\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): detection\det_webcam.avi in function 'cv::icvExtractPattern'

I was just curious if this would effect performance or how I could remove this exception.

Yejing-Lai commented 4 years ago

I also encountered this problem, have you solved it?