Added JSON deserializer

This commit is contained in:
Matt Hill
2014-10-23 17:20:46 -04:00
parent 70ab96a639
commit f18a3b5c54
4 changed files with 84 additions and 3 deletions

View File

@@ -63,7 +63,6 @@ class AlprPlateResult
virtual ~AlprPlateResult() {};
int requested_topn;
int result_count;
AlprPlate bestPlate;
std::vector<AlprPlate> topNPlates;
@@ -116,6 +115,7 @@ class Alpr
std::string toJson(const AlprResults results);
AlprResults fromJson(std::string json);
bool isLoaded();