Moved polygon logic to textline

This commit is contained in:
Matt Hill
2014-10-13 18:19:12 -04:00
parent c156e8900e
commit 97518ecd89
4 changed files with 18 additions and 24 deletions

View File

@@ -38,23 +38,13 @@ class CharacterAnalysis
cv::Mat bestThreshold;
TextContours bestContours;
//std::vector<std::vector<cv::Point> > bestContours;
//std::vector<cv::Vec4i> bestHierarchy;
//std::vector<bool> bestCharSegments;
//int bestCharSegmentsCount;
std::vector<cv::Point> linePolygon;
bool thresholdsInverted;
bool isTwoLine;
std::vector<TextContours> allTextContours;
//std::vector<std::vector<std::vector<cv::Point> > > allContours;
//std::vector<std::vector<cv::Vec4i> > allHierarchy;
//std::vector<std::vector<bool> > charSegments;
void analyze();