mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-08 05:10:04 +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);
|
cv::imwrite(LAST_VIDEO_STILL_LOCATION, frame);
|
||||||
}
|
}
|
||||||
|
if (!outputJson)
|
||||||
std::cout << "Frame: " << framenum << std::endl;
|
std::cout << "Frame: " << framenum << std::endl;
|
||||||
|
|
||||||
if (framenum == 0)
|
if (framenum == 0)
|
||||||
motiondetector.ResetMotionDetection(&frame);
|
motiondetector.ResetMotionDetection(&frame);
|
||||||
detectandshow(&alpr, frame, "", outputJson);
|
detectandshow(&alpr, frame, "", outputJson);
|
||||||
|
Reference in New Issue
Block a user