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