Updated code to use state ID library

This commit is contained in:
Matt Hill
2015-08-09 19:24:45 -04:00
parent ce5e278053
commit 83e8acd8d3
2 changed files with 17 additions and 12 deletions

View File

@@ -35,7 +35,7 @@
#include "prewarp.h"
#include "licenseplatecandidate.h"
#include "stateidentifier.h"
#include "../statedetection/state_detector.h"
#include "segmentation/charactersegmenter.h"
#include "ocr.h"
@@ -76,7 +76,7 @@ namespace alpr
AlprFullDetails recognizeFullDetails(cv::Mat img, std::vector<cv::Rect> regionsOfInterest);
AlprResults recognize( std::vector<char> imageBytes );
AlprResults recognize( std::vector<char> imageBytes, std::vector<AlprRegionOfInterest> regionsOfInterest );
AlprResults recognize( std::vector<char> imageBytes, std::vector<AlprRegionOfInterest> regionsOfInterest );
AlprResults recognize( unsigned char* pixelData, int bytesPerPixel, int imgWidth, int imgHeight, std::vector<AlprRegionOfInterest> regionsOfInterest );
AlprResults recognize( cv::Mat img );
AlprResults recognize( cv::Mat img, std::vector<cv::Rect> regionsOfInterest );
@@ -100,7 +100,7 @@ namespace alpr
private:
Detector* plateDetector;
StateIdentifier* stateIdentifier;
StateDetector* stateDetector;
OCR* ocr;
PreWarp* prewarp;