I am testing YOLOv3 with live video feed from Kinect v1.0. I know YOLO get the video stream by ‘cap = cvCaptureFromCAM(cam_index)’.
When I opened the libfreenect driver, and then run ./darknet detector demo cfg/voc.data cfg/tiny-yolo-voc.cfg tiny-yolo-voc.weights
the error is :VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
Couldn’t connect to webcam: No such file or directory
Then I tried the method which is mentioned in ‘https://github.com/opencv/opencv/issues/7974’ and and recompiled opencv. But, it doesn’t work!
It seems I need to convert it to a cv::Mat. Can you help me solve it? Thank you very much!