Home > other >  Opencv VideoCapture: : read has not returned
Opencv VideoCapture: : read has not returned

Time:10-07

Opencv VideoCapture: : read has not returned, blocking

I pulled the string out of the camera, the code still stay in the position of the read, will not return,

While (the capture. Read (frame)) {
.
}

Timeout parameter setting of videocapture read?

This problem for a long time, hope which great god help solve, thank you very much,

CodePudding user response:

Hello, you didn't puzzles to solve, I also encountered similar problems, confused for a long time, opencv help document and reality;

CodePudding user response:

Centos7
Success, frame=cap. The read ()
Has been blocked, there is a solution

CodePudding user response:

I also encountered the same problem (namely VideoCapture: : read () has been blocked), however I found in a video file, read again, is normal,

By controlling variable method, I appear problem is the cause of the local video files,
  • Related