mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 21:00: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 "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;
|
||||||
|
Reference in New Issue
Block a user