Reformatted JSON output. Moved epoch time to top level. Added total processing time

This commit is contained in:
Matt Hill
2014-06-12 05:58:34 -04:00
parent d1d83fe404
commit 8a9dfabe6c
5 changed files with 27 additions and 13 deletions

View File

@@ -73,7 +73,7 @@ class Alpr
std::vector<AlprResult> recognize(std::string filepath);
std::vector<AlprResult> recognize(std::vector<unsigned char> imageBuffer);
std::string toJson(const std::vector<AlprResult> results);
std::string toJson(const std::vector<AlprResult> results, double processing_time_ms = -1);
bool isLoaded();