mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 03:32:56 +08:00
Motion detection for the webcam
This commit is contained in:
@@ -160,7 +160,8 @@ int main( int argc, const char** argv )
|
||||
|
||||
while (cap.read(frame))
|
||||
{
|
||||
detectandshow(&alpr, frame, "", outputJson);
|
||||
if (framenum == 0) motiondetector.ResetMotionDetection(&frame);
|
||||
detectandshow(&alpr, frame, "", outputJson);
|
||||
sleep_ms(10);
|
||||
framenum++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user