mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-08 15:00:07 +08:00
Fixed benchmark code
This commit is contained in:
@@ -198,7 +198,9 @@ int main( int argc, const char** argv )
|
||||
frame = imread( fullpath.c_str() );
|
||||
|
||||
getTime(&startTime);
|
||||
alpr.recognize(frame);
|
||||
vector<Rect> regionsOfInterest;
|
||||
regionsOfInterest.push_back(Rect(0, 0, frame.cols, frame.rows));
|
||||
alpr.recognize(frame, regionsOfInterest);
|
||||
getTime(&endTime);
|
||||
double endToEndTime = diffclock(startTime, endTime);
|
||||
cout << " -- End to End recognition time: " << endToEndTime << "ms." << endl;
|
||||
|
Reference in New Issue
Block a user