1 | initial version |
you're wrong about cv::imread() throwing an exception, ever, it won''t happen.
instead, please check for src.empty()
2 | No.2 Revision |
you're wrong about cv::imread() throwing an exception, ever, it won''t happen.
instead, please check for src.empty()
like:
if (src.empty()) {
// fail, bail out !
return -1;
}
3 | No.3 Revision |
you're wrong about cv::imread() throwing an exception, ever, it won''t won't ever happen.
instead, please check for src.empty()
like:
if (src.empty()) {
// fail, bail out !
return -1;
}
4 | No.4 Revision |
you're wrong about cv::imread() throwing an exception, ever, it won't ever happen.
instead, please check for src.empty()
like:
if (src.empty()) {
// fail, bail out !
return -1;
}