Added toJson function for single result

This commit is contained in:
Matt Hill
2016-10-23 10:48:57 -04:00
parent 469c4fd6d7
commit a8c3f90f9f
4 changed files with 22 additions and 0 deletions

View File

@@ -82,6 +82,10 @@ namespace alpr
{
return AlprImpl::toJson(results);
}
std::string Alpr::toJson( AlprPlateResult result )
{
return AlprImpl::toJson(result);
}
AlprResults Alpr::fromJson(std::string json) {
return AlprImpl::fromJson(json);