mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 22:36:53 +08:00
Reformatted JSON output. Moved epoch time to top level. Added total processing time
This commit is contained in:
@@ -46,9 +46,9 @@ std::vector<AlprResult> Alpr::recognize(std::vector<unsigned char> imageBuffer)
|
||||
return impl->recognize(img);
|
||||
}
|
||||
|
||||
string Alpr::toJson(const vector< AlprResult > results)
|
||||
string Alpr::toJson(const vector< AlprResult > results, double processing_time_ms)
|
||||
{
|
||||
return impl->toJson(results);
|
||||
return impl->toJson(results, processing_time_ms);
|
||||
}
|
||||
|
||||
void Alpr::setDetectRegion(bool detectRegion)
|
||||
|
Reference in New Issue
Block a user