Changed JSON serialization/deserialization functions to static

This commit is contained in:
Matt Hill
2014-10-24 17:10:55 -04:00
parent 904ff09fa7
commit 1f64cfa029
4 changed files with 9 additions and 10 deletions

View File

@@ -114,8 +114,8 @@ class Alpr
AlprResults recognize(unsigned char* pixelData, int bytesPerPixel, int imgWidth, int imgHeight, std::vector<AlprRegionOfInterest> regionsOfInterest);
std::string toJson(const AlprResults results);
AlprResults fromJson(std::string json);
static std::string toJson(const AlprResults results);
static AlprResults fromJson(std::string json);
bool isLoaded();