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