|
|
|
@ -1059,7 +1059,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat)
|
|
|
|
|
bool res = cv::imwrite(fullPath.c_str(), mat, params);
|
|
|
|
|
if (!res)
|
|
|
|
|
{
|
|
|
|
|
XYLOG(XYLOG_SEVERITY_DERROR, "Failed to write photo: %s", fullPath.c_str());
|
|
|
|
|
XYLOG(XYLOG_SEVERITY_ERROR, "Failed to write photo: %s", fullPath.c_str());
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|