1 | initial version |
cap >> frame; // get a new frame from camera
someimes, cameras need a 'warmup' time, and deliver empty frames.
throw in a :
if ( frame.empty() ) continue;
also, please run a 'debug' build. lots of serious assertions get skipped in release.
2 | No.2 Revision |
cap >> frame; // get a new frame from camera
someimes, sometimes, cameras need a 'warmup' time, and deliver empty frames.
throw in a :
if ( frame.empty() ) continue;
also, please run a 'debug' build. lots of serious assertions get skipped in release.