From 092e1bb3d57d38d4afd4608e11ddde2546cb7c07 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 1 Jul 2014 17:19:16 -0400 Subject: [PATCH] Updated pipeline.cpp to compile --- src/openalpr/CMakeLists.txt | 1 + src/openalpr/pipeline_data.cpp | 4 ++++ src/openalpr/pipeline_data.h | 9 ++++----- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/openalpr/CMakeLists.txt b/src/openalpr/CMakeLists.txt index 9046926..aba5435 100644 --- a/src/openalpr/CMakeLists.txt +++ b/src/openalpr/CMakeLists.txt @@ -21,6 +21,7 @@ set(lpr_source_files colorfilter.cpp characteranalysis.cpp verticalhistogram.cpp + pipeline_data.cpp trex.c cjson.c ) diff --git a/src/openalpr/pipeline_data.cpp b/src/openalpr/pipeline_data.cpp index 8db07ad..0d8ab04 100644 --- a/src/openalpr/pipeline_data.cpp +++ b/src/openalpr/pipeline_data.cpp @@ -10,4 +10,8 @@ PipelineData::PipelineData(Mat colorImage, Rect regionOfInterest, Config* config this->regionOfInterest = regionOfInterest; this->config = config; +} + +PipelineData::~PipelineData() +{ } \ No newline at end of file diff --git a/src/openalpr/pipeline_data.h b/src/openalpr/pipeline_data.h index e9a0b0a..39e6c52 100644 --- a/src/openalpr/pipeline_data.h +++ b/src/openalpr/pipeline_data.h @@ -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 horizontalLines; std::vector verticalLines; - // Segmentation - std::vector segments; - std::vector segmentGroups; + // OCR