mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 00:17:08 +08:00
Updated pipeline.cpp to compile
This commit is contained in:
@@ -21,6 +21,7 @@ set(lpr_source_files
|
||||
colorfilter.cpp
|
||||
characteranalysis.cpp
|
||||
verticalhistogram.cpp
|
||||
pipeline_data.cpp
|
||||
trex.c
|
||||
cjson.c
|
||||
)
|
||||
|
@@ -10,4 +10,8 @@ PipelineData::PipelineData(Mat colorImage, Rect regionOfInterest, Config* config
|
||||
|
||||
this->regionOfInterest = regionOfInterest;
|
||||
this->config = config;
|
||||
}
|
||||
|
||||
PipelineData::~PipelineData()
|
||||
{
|
||||
}
|
@@ -2,8 +2,9 @@
|
||||
#ifndef OPENALPR_PIPELINEDATA_H
|
||||
#define OPENALPR_PIPELINEDATA_H
|
||||
|
||||
#include "segmentation/segment.h"
|
||||
#include "segmentation/segmentationgroup.h"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "utility.h"
|
||||
#include "config.h"
|
||||
|
||||
class PipelineData
|
||||
{
|
||||
@@ -36,9 +37,7 @@ class PipelineData
|
||||
std::vector<LineSegment> horizontalLines;
|
||||
std::vector<LineSegment> verticalLines;
|
||||
|
||||
// Segmentation
|
||||
std::vector<Segment> segments;
|
||||
std::vector<SegmentationGroup> segmentGroups;
|
||||
|
||||
|
||||
// OCR
|
||||
|
||||
|
Reference in New Issue
Block a user