Hiding Frame: from video output when using JSON output

This commit is contained in:
Matt Hill
2016-01-31 21:28:13 -05:00
parent 25aa237fe9
commit da4a84360c

View File

@@ -232,7 +232,9 @@ int main( int argc, const char** argv )
{
cv::imwrite(LAST_VIDEO_STILL_LOCATION, frame);
}
std::cout << "Frame: " << framenum << std::endl;
if (!outputJson)
std::cout << "Frame: " << framenum << std::endl;
if (framenum == 0)
motiondetector.ResetMotionDetection(&frame);
detectandshow(&alpr, frame, "", outputJson);