mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 23:32:54 +08:00
If user closes calibration utility image window, then exit.
This commit is contained in:
@@ -373,8 +373,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
drawImage(imgOriginal);
|
||||
|
||||
|
||||
while (true)
|
||||
while (cvGetWindowHandle(WINDOW_NAME.c_str()) != 0)
|
||||
{
|
||||
|
||||
char c = waitKey(15);
|
||||
@@ -387,6 +386,7 @@ int main(int argc, char** argv) {
|
||||
cout << "prewarp = " << get_config() << endl;
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
cvDestroyAllWindows();
|
||||
|
Reference in New Issue
Block a user