forked from floratest1/SpireCV
added support for V4L2CAM
This commit is contained in:
@@ -1110,7 +1110,7 @@ void CameraBase::_run()
|
||||
}
|
||||
bool CameraBase::read(cv::Mat& image)
|
||||
{
|
||||
if (this->_type == CameraType::WEBCAM || this->_type == CameraType::G1 || this->_type == CameraType::MIPI)
|
||||
if (this->_type != CameraType::NONE)
|
||||
{
|
||||
int n_try = 0;
|
||||
while (n_try < 5000)
|
||||
|
||||
Reference in New Issue
Block a user