Cleaned up include statements

This commit is contained in:
Matt Hill
2014-02-21 04:18:02 -06:00
parent 0b49374f81
commit c0e937f9bc
16 changed files with 10 additions and 47 deletions

View File

@@ -26,7 +26,6 @@
#include <stdio.h> #include <stdio.h>
#include <iostream> #include <iostream>
#include "opencv2/opencv.hpp" #include "opencv2/opencv.hpp"
#include "opencv2/highgui/highgui.hpp"
using namespace std; using namespace std;
using namespace cv; using namespace cv;

View File

@@ -18,7 +18,6 @@
*/ */
#include "characteranalysis.h" #include "characteranalysis.h"
#include <math.h>
CharacterAnalysis::CharacterAnalysis(Mat img, Config* config) CharacterAnalysis::CharacterAnalysis(Mat img, Config* config)
{ {

View File

@@ -22,7 +22,6 @@
#ifndef CHARACTERANALYSIS_H #ifndef CHARACTERANALYSIS_H
#define CHARACTERANALYSIS_H #define CHARACTERANALYSIS_H
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "constants.h" #include "constants.h"
#include "utility.h" #include "utility.h"

View File

@@ -22,7 +22,6 @@
#ifndef CHARACTERREGION_H #ifndef CHARACTERREGION_H
#define CHARACTERREGION_H #define CHARACTERREGION_H
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "constants.h" #include "constants.h"
#include "utility.h" #include "utility.h"

View File

@@ -22,7 +22,6 @@
#ifndef CHARACTERSEGMENTER_H #ifndef CHARACTERSEGMENTER_H
#define CHARACTERSEGMENTER_H #define CHARACTERSEGMENTER_H
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "constants.h" #include "constants.h"
#include "binarize_wolf.h" #include "binarize_wolf.h"

View File

@@ -22,7 +22,6 @@
#define COLORFILTER_H #define COLORFILTER_H
#include <iomanip> #include <iomanip>
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "constants.h" #include "constants.h"

View File

@@ -25,7 +25,7 @@
#include "simpleini/simpleini.h" #include "simpleini/simpleini.h"
#include "support/filesystem.h" #include "support/filesystem.h"
#include "linux_dev.h" #include "constants.h"
#include <stdio.h> #include <stdio.h>
#include <iostream> #include <iostream>

View File

@@ -17,5 +17,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * 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"

View File

@@ -23,7 +23,6 @@
#ifndef FEATUREMATCHER_H #ifndef FEATUREMATCHER_H
#define FEATUREMATCHER_H #define FEATUREMATCHER_H
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d/features2d.hpp"

View File

@@ -24,11 +24,9 @@
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <vector> #include <vector>
//#include <apr-1.0/apr_poll.h>
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/core/core.hpp" #include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "utility.h" #include "utility.h"
#include "constants.h" #include "constants.h"

View File

@@ -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"

View File

@@ -31,7 +31,6 @@
#include "config.h" #include "config.h"
#include "constants.h" #include "constants.h"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "baseapi.h" #include "baseapi.h"

View File

@@ -21,7 +21,6 @@
#ifndef PLATECORNERS_H #ifndef PLATECORNERS_H
#define PLATECORNERS_H #define PLATECORNERS_H
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "characterregion.h" #include "characterregion.h"
#include "platelines.h" #include "platelines.h"

View File

@@ -26,7 +26,6 @@
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "utility.h" #include "utility.h"
#include "binarize_wolf.h" #include "binarize_wolf.h"
//#include "lswms.h"
#include "config.h" #include "config.h"
using namespace cv; using namespace cv;

View File

@@ -30,7 +30,6 @@
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/core/core.hpp" #include "opencv2/core/core.hpp"
#include "opencv2/ml/ml.hpp" #include "opencv2/ml/ml.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/ocl/ocl.hpp" #include "opencv2/ocl/ocl.hpp"
#include "utility.h" #include "utility.h"

View File

@@ -22,7 +22,6 @@
#ifndef STATEIDENTIFIER_H #ifndef STATEIDENTIFIER_H
#define STATEIDENTIFIER_H #define STATEIDENTIFIER_H
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc/imgproc.hpp"
#include "constants.h" #include "constants.h"
#include "featurematcher.h" #include "featurematcher.h"