mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 10:50:52 +08:00
Added prewarp pointer to pipeline_data. Added color crop
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user