Added prewarp pointer to pipeline_data. Added color crop

This commit is contained in:
Matt Hill
2015-08-09 19:23:08 -04:00
parent 123f3a8fbf
commit 443477402a

View File

@@ -7,6 +7,7 @@
#include "config.h" #include "config.h"
#include "textdetection/textline.h" #include "textdetection/textline.h"
#include "edges/scorekeeper.h" #include "edges/scorekeeper.h"
#include "prewarp.h"
namespace alpr namespace alpr
{ {
@@ -25,6 +26,8 @@ namespace alpr
// Inputs // Inputs
Config* config; Config* config;
PreWarp* prewarp;
cv::Mat colorImg; cv::Mat colorImg;
cv::Mat grayImg; cv::Mat grayImg;
cv::Rect regionOfInterest; cv::Rect regionOfInterest;
@@ -33,6 +36,8 @@ namespace alpr
cv::Mat crop_gray; cv::Mat crop_gray;
cv::Mat color_deskewed;
bool hasPlateBorder; bool hasPlateBorder;
cv::Mat plateBorderMask; cv::Mat plateBorderMask;
std::vector<TextLine> textLines; std::vector<TextLine> textLines;