mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 04:30:51 +08:00
Hiding Frame: from video output when using JSON output
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user