mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 19:26:51 +08:00
Changed JSON serialization/deserialization functions to static
This commit is contained in:
@@ -59,11 +59,11 @@ AlprResults Alpr::recognize(unsigned char* pixelData, int bytesPerPixel, int img
|
||||
|
||||
std::string Alpr::toJson( AlprResults results )
|
||||
{
|
||||
return impl->toJson(results);
|
||||
return AlprImpl::toJson(results);
|
||||
}
|
||||
|
||||
AlprResults Alpr::fromJson(std::string json) {
|
||||
return impl->fromJson(json);
|
||||
return AlprImpl::fromJson(json);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user