From 443477402ac182ead32ebbbbab80bad8b3c85d02 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Sun, 9 Aug 2015 19:23:08 -0400 Subject: [PATCH] Added prewarp pointer to pipeline_data. Added color crop --- src/openalpr/pipeline_data.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/openalpr/pipeline_data.h b/src/openalpr/pipeline_data.h index 9a42947..4fca140 100644 --- a/src/openalpr/pipeline_data.h +++ b/src/openalpr/pipeline_data.h @@ -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 textLines;