mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 14:20:50 +08:00
Added regions of interest to ALPR interface. Currently non-functional
This commit is contained in:
@@ -64,7 +64,11 @@ class AlprImpl
|
||||
virtual ~AlprImpl();
|
||||
|
||||
AlprFullDetails recognizeFullDetails(cv::Mat img);
|
||||
std::vector<AlprResult> recognize(cv::Mat img);
|
||||
AlprFullDetails recognizeFullDetails(cv::Mat img, std::vector<cv::Rect> regionsOfInterest);
|
||||
|
||||
std::vector<AlprResult> recognize(std::string filepath, std::vector<AlprRegionOfInterest> regionsOfInterest);
|
||||
std::vector<AlprResult> recognize(std::vector<unsigned char> imageBuffer, std::vector<AlprRegionOfInterest> regionsOfInterest);
|
||||
std::vector<AlprResult> recognize(cv::Mat img, std::vector<cv::Rect> regionsOfInterest);
|
||||
|
||||
void applyRegionTemplate(AlprResult* result, std::string region);
|
||||
|
||||
@@ -89,6 +93,8 @@ class AlprImpl
|
||||
bool detectRegion;
|
||||
std::string defaultRegion;
|
||||
|
||||
std::vector<cv::Rect> convertRects(std::vector<AlprRegionOfInterest> regionsOfInterest);
|
||||
|
||||
cJSON* createJsonObj(const AlprResult* result);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user