mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 22:32:43 +08:00
Updated alpr_impl to support detector benchmark
This commit is contained in:
@@ -48,6 +48,11 @@
|
||||
#define ALPR_NULL_PTR 0
|
||||
|
||||
|
||||
struct AlprFullDetails
|
||||
{
|
||||
std::vector<PlateRegion> plateRegions;
|
||||
std::vector<AlprResult> results;
|
||||
};
|
||||
|
||||
class AlprImpl
|
||||
{
|
||||
@@ -56,6 +61,7 @@ class AlprImpl
|
||||
AlprImpl(const std::string country, const std::string configFile = "", const std::string runtimeDir = "");
|
||||
virtual ~AlprImpl();
|
||||
|
||||
AlprFullDetails recognizeFullDetails(cv::Mat img);
|
||||
std::vector<AlprResult> recognize(cv::Mat img);
|
||||
|
||||
void applyRegionTemplate(AlprResult* result, std::string region);
|
||||
|
Reference in New Issue
Block a user