Detecting regions hierarchically. Starting with the biggest boxes, and then moving into their children if the bigger box was not detected.

This commit is contained in:
Matt Hill
2014-04-04 16:42:06 -05:00
parent b1fd90161f
commit 95c6e59610
2 changed files with 91 additions and 76 deletions

View File

@@ -123,6 +123,13 @@ class PlateDispatcher
return plateRegion;
}
void appendPlate(PlateRegion plate)
{
tthread::lock_guard<tthread::mutex> guard(mMutex);
plateRegions.push_back(plate);
}
void addResult(AlprResult recognitionResult)
{
tthread::lock_guard<tthread::mutex> guard(mMutex);