Split up the plate mask code into its own class

This commit is contained in:
Matt Hill
2014-10-09 20:46:26 -04:00
parent f190fb3984
commit add77f6b0c
8 changed files with 267 additions and 168 deletions

View File

@@ -32,8 +32,6 @@ class CharacterAnalysis
CharacterAnalysis(PipelineData* pipeline_data);
virtual ~CharacterAnalysis();
bool hasPlateMask;
cv::Mat plateMask;
cv::Mat bestThreshold;
std::vector<std::vector<cv::Point> > bestContours;
@@ -52,6 +50,7 @@ class CharacterAnalysis
LineSegment charBoxRight;
bool thresholdsInverted;
bool isTwoLine;
std::vector<std::vector<std::vector<cv::Point> > > allContours;
std::vector<std::vector<cv::Vec4i> > allHierarchy;