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