mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 23:06:56 +08:00
Process image first before stopping to display image (debug mode)
This commit is contained in:
@@ -142,6 +142,9 @@ std::vector<AlprResult> AlprImpl::recognize(cv::Mat img)
|
||||
|
||||
}
|
||||
|
||||
|
||||
vector<AlprResult> results = dispatcher.getRecognitionResults();
|
||||
|
||||
if (config->debugPauseOnFrame)
|
||||
{
|
||||
// Pause indefinitely until they press a key
|
||||
@@ -149,7 +152,7 @@ std::vector<AlprResult> AlprImpl::recognize(cv::Mat img)
|
||||
{}
|
||||
}
|
||||
|
||||
return dispatcher.getRecognitionResults();
|
||||
return results;
|
||||
}
|
||||
|
||||
void plateAnalysisThread(void* arg)
|
||||
|
Reference in New Issue
Block a user