Added character bounding box and confidence to API output

This commit is contained in:
Matt Hill
2015-06-01 22:26:49 -04:00
parent 3fd5585c83
commit 4b6d2cc6ec
5 changed files with 92 additions and 8 deletions

View File

@@ -28,19 +28,28 @@
namespace alpr
{
struct AlprPlate
{
std::string characters;
float overall_confidence;
bool matches_template;
};
struct AlprCoordinate
{
int x;
int y;
};
struct AlprChar
{
AlprCoordinate corners[4];
float confidence;
std::string character;
};
struct AlprPlate
{
std::string characters;
float overall_confidence;
std::vector<AlprChar> character_details;
bool matches_template;
};
class AlprRegionOfInterest
{