mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 07:16:56 +08:00
Merge branch 'develop' into multithread
This commit is contained in:
@@ -26,7 +26,7 @@ ENDIF()
|
||||
|
||||
# Opencv Package
|
||||
FIND_PACKAGE( OpenCV REQUIRED )
|
||||
IF (${OpenCV_VERSION} VERSION_LESS 2.3.0)
|
||||
IF (${OpenCV_VERSION} VERSION_LESS 2.4.8)
|
||||
MESSAGE(FATAL_ERROR "OpenCV version is not compatible : ${OpenCV_VERSION}")
|
||||
ENDIF()
|
||||
|
||||
|
@@ -20,9 +20,7 @@
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <valarray>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
#define OPENALPR_VERSION "0.3"
|
||||
#define OPENALPR_VERSION "1.0"
|
||||
|
||||
struct AlprPlate
|
||||
{
|
||||
|
@@ -26,7 +26,6 @@
|
||||
#include <stdio.h>
|
||||
#include <iostream>
|
||||
#include "opencv2/opencv.hpp"
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace cv;
|
||||
|
@@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "characteranalysis.h"
|
||||
#include <math.h>
|
||||
|
||||
CharacterAnalysis::CharacterAnalysis(Mat img, Config* config)
|
||||
{
|
||||
|
@@ -22,7 +22,6 @@
|
||||
#ifndef CHARACTERANALYSIS_H
|
||||
#define CHARACTERANALYSIS_H
|
||||
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "constants.h"
|
||||
#include "utility.h"
|
||||
|
@@ -22,7 +22,6 @@
|
||||
#ifndef CHARACTERREGION_H
|
||||
#define CHARACTERREGION_H
|
||||
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "constants.h"
|
||||
#include "utility.h"
|
||||
|
@@ -22,7 +22,6 @@
|
||||
#ifndef CHARACTERSEGMENTER_H
|
||||
#define CHARACTERSEGMENTER_H
|
||||
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "constants.h"
|
||||
#include "binarize_wolf.h"
|
||||
|
@@ -22,7 +22,6 @@
|
||||
#define COLORFILTER_H
|
||||
|
||||
#include <iomanip>
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
|
||||
#include "constants.h"
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include "simpleini/simpleini.h"
|
||||
#include "support/filesystem.h"
|
||||
|
||||
#include "linux_dev.h"
|
||||
#include "constants.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <iostream>
|
||||
|
@@ -17,5 +17,13 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "linux_dev.h"
|
||||
#define CONFIG_FILE "/openalpr.conf"
|
||||
#define KEYPOINTS_DIR "/keypoints"
|
||||
#define CASCADE_DIR "/region/"
|
||||
#define POSTPROCESS_DIR "/postprocess"
|
||||
|
||||
#ifndef DEFAULT_RUNTIME_DIR
|
||||
#define DEFAULT_RUNTIME_DIR "/default_runtime_data_dir/"
|
||||
#endif
|
||||
|
||||
#define ENV_VARIABLE_RUNTIME_DIR "OPENALPR_RUNTIME_DIR"
|
@@ -23,7 +23,6 @@
|
||||
#ifndef FEATUREMATCHER_H
|
||||
#define FEATUREMATCHER_H
|
||||
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/calib3d/calib3d.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "opencv2/features2d/features2d.hpp"
|
||||
|
@@ -24,11 +24,9 @@
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <vector>
|
||||
//#include <apr-1.0/apr_poll.h>
|
||||
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "opencv2/core/core.hpp"
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
|
||||
#include "utility.h"
|
||||
#include "constants.h"
|
||||
|
@@ -1,31 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2013 New Designs Unlimited, LLC
|
||||
* Opensource Automated License Plate Recognition [http://www.openalpr.com]
|
||||
*
|
||||
* This file is part of OpenAlpr.
|
||||
*
|
||||
* OpenAlpr is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License
|
||||
* version 3 as published by the Free Software Foundation
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define CONFIG_FILE "/openalpr.conf"
|
||||
#define KEYPOINTS_DIR "/keypoints"
|
||||
#define CASCADE_DIR "/region/"
|
||||
#define POSTPROCESS_DIR "/postprocess"
|
||||
|
||||
#ifndef DEFAULT_RUNTIME_DIR
|
||||
#define DEFAULT_RUNTIME_DIR "/default_runtime_data_dir/"
|
||||
#endif
|
||||
|
||||
#define ENV_VARIABLE_RUNTIME_DIR "OPENALPR_RUNTIME_DIR"
|
||||
|
||||
|
@@ -31,7 +31,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "constants.h"
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
|
||||
#include "baseapi.h"
|
||||
|
@@ -21,7 +21,6 @@
|
||||
#ifndef PLATECORNERS_H
|
||||
#define PLATECORNERS_H
|
||||
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "characterregion.h"
|
||||
#include "platelines.h"
|
||||
|
@@ -26,7 +26,6 @@
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "utility.h"
|
||||
#include "binarize_wolf.h"
|
||||
//#include "lswms.h"
|
||||
#include "config.h"
|
||||
|
||||
using namespace cv;
|
||||
|
@@ -30,7 +30,6 @@
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "opencv2/core/core.hpp"
|
||||
#include "opencv2/ml/ml.hpp"
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/ocl/ocl.hpp"
|
||||
|
||||
#include "utility.h"
|
||||
|
@@ -22,7 +22,6 @@
|
||||
#ifndef STATEIDENTIFIER_H
|
||||
#define STATEIDENTIFIER_H
|
||||
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "constants.h"
|
||||
#include "featurematcher.h"
|
||||
|
Reference in New Issue
Block a user