mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 18:42:48 +08:00
Use usleep rather than waitKey
This commit is contained in:
@@ -128,10 +128,10 @@ void imageCollectionThread(void* arg)
|
|||||||
|
|
||||||
|
|
||||||
// Delay 15ms
|
// Delay 15ms
|
||||||
cv::waitKey(15);
|
usleep(15000);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delay 100ms
|
// Delay 100ms
|
||||||
cv::waitKey(100);
|
usleep(100000);
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user