diff --git a/src/openalpr/alpr.h b/src/openalpr/alpr.h index b2e6fa0..5068d67 100644 --- a/src/openalpr/alpr.h +++ b/src/openalpr/alpr.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef ALPR_H -#define ALPR_H +#ifndef OPENALPR_ALPR_H +#define OPENALPR_ALPR_H #include #include @@ -83,4 +83,4 @@ class Alpr AlprImpl* impl; }; -#endif // APLR_H +#endif // OPENALPR_APLR_H diff --git a/src/openalpr/alpr_impl.h b/src/openalpr/alpr_impl.h index 196e387..eb54cd0 100644 --- a/src/openalpr/alpr_impl.h +++ b/src/openalpr/alpr_impl.h @@ -18,8 +18,8 @@ */ -#ifndef ALPRIMPL_H -#define ALPRIMPL_H +#ifndef OPENALPR_ALPRIMPL_H +#define OPENALPR_ALPRIMPL_H #include #include @@ -163,4 +163,4 @@ class PlateDispatcher }; -#endif // ALPRIMPL_H \ No newline at end of file +#endif // OPENALPR_ALPRIMPL_H \ No newline at end of file diff --git a/src/openalpr/binarize_wolf.h b/src/openalpr/binarize_wolf.h index b693265..2adf00c 100644 --- a/src/openalpr/binarize_wolf.h +++ b/src/openalpr/binarize_wolf.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef BINARIZEWOLF_H -#define BINARIZEWOLF_H +#ifndef OPENALPR_BINARIZEWOLF_H +#define OPENALPR_BINARIZEWOLF_H #include "support/filesystem.h" @@ -47,4 +47,4 @@ enum NiblackVersion void NiblackSauvolaWolfJolion (Mat im, Mat output, NiblackVersion version, int winx, int winy, float k); -#endif // BINARIZEWOLF_H +#endif // OPENALPR_BINARIZEWOLF_H diff --git a/src/openalpr/characteranalysis.h b/src/openalpr/characteranalysis.h index be0980b..c1e1dfc 100644 --- a/src/openalpr/characteranalysis.h +++ b/src/openalpr/characteranalysis.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef CHARACTERANALYSIS_H -#define CHARACTERANALYSIS_H +#ifndef OPENALPR_CHARACTERANALYSIS_H +#define OPENALPR_CHARACTERANALYSIS_H #include "opencv2/imgproc/imgproc.hpp" #include "constants.h" @@ -91,4 +91,4 @@ class CharacterAnalysis }; -#endif // CHARACTERANALYSIS_H +#endif // OPENALPR_CHARACTERANALYSIS_H diff --git a/src/openalpr/characterregion.h b/src/openalpr/characterregion.h index e20756a..902c2a9 100644 --- a/src/openalpr/characterregion.h +++ b/src/openalpr/characterregion.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef CHARACTERREGION_H -#define CHARACTERREGION_H +#ifndef OPENALPR_CHARACTERREGION_H +#define OPENALPR_CHARACTERREGION_H #include "opencv2/imgproc/imgproc.hpp" #include "constants.h" @@ -78,4 +78,4 @@ class CharacterRegion }; -#endif // CHARACTERREGION_H +#endif // OPENALPR_CHARACTERREGION_H diff --git a/src/openalpr/charactersegmenter.h b/src/openalpr/charactersegmenter.h index 511a47e..1e9ea99 100644 --- a/src/openalpr/charactersegmenter.h +++ b/src/openalpr/charactersegmenter.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef CHARACTERSEGMENTER_H -#define CHARACTERSEGMENTER_H +#ifndef OPENALPR_CHARACTERSEGMENTER_H +#define OPENALPR_CHARACTERSEGMENTER_H #include "opencv2/imgproc/imgproc.hpp" #include "constants.h" @@ -98,4 +98,4 @@ class CharacterSegmenter vector getEncapsulatingLines(Mat img, vector > contours, vector goodIndices); }; -#endif // CHARACTERSEGMENTER_H +#endif // OPENALPR_CHARACTERSEGMENTER_H diff --git a/src/openalpr/colorfilter.h b/src/openalpr/colorfilter.h index 1e51201..b617583 100644 --- a/src/openalpr/colorfilter.h +++ b/src/openalpr/colorfilter.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef COLORFILTER_H -#define COLORFILTER_H +#ifndef OPENALPR_COLORFILTER_H +#define OPENALPR_COLORFILTER_H #include #include "opencv2/imgproc/imgproc.hpp" @@ -56,4 +56,4 @@ class ColorFilter int getMajorityOpinion(vector values, float minPercentAgreement, float maxValDifference); }; -#endif // COLORFILTER_H +#endif // OPENALPR_COLORFILTER_H diff --git a/src/openalpr/config.h b/src/openalpr/config.h index 20fed74..ad74e34 100644 --- a/src/openalpr/config.h +++ b/src/openalpr/config.h @@ -18,8 +18,8 @@ */ -#ifndef CONFIG_H -#define CONFIG_H +#ifndef OPENALPR_CONFIG_H +#define OPENALPR_CONFIG_H #include "simpleini/simpleini.h" @@ -129,4 +129,4 @@ private: }; -#endif // CONFIG_H \ No newline at end of file +#endif // OPENALPR_CONFIG_H \ No newline at end of file diff --git a/src/openalpr/constants.h b/src/openalpr/constants.h index 30e21b5..497dbd8 100644 --- a/src/openalpr/constants.h +++ b/src/openalpr/constants.h @@ -16,6 +16,10 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ +#ifndef OPENALPR_CONSTANTS_H +#define OPENALPR_CONSTANTS_H + + #define OPENALPR_MAJOR_VERSION 1 #define OPENALPR_MINOR_VERSION 1 #define OPENALPR_PATCH_VERSION 0 @@ -30,3 +34,5 @@ #endif #define ENV_VARIABLE_RUNTIME_DIR "OPENALPR_RUNTIME_DIR" + +#endif // OPENALPR_CONSTANTS_H \ No newline at end of file diff --git a/src/openalpr/featurematcher.h b/src/openalpr/featurematcher.h index 1af3b92..1f5bf3c 100644 --- a/src/openalpr/featurematcher.h +++ b/src/openalpr/featurematcher.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef FEATUREMATCHER_H -#define FEATUREMATCHER_H +#ifndef OPENALPR_FEATUREMATCHER_H +#define OPENALPR_FEATUREMATCHER_H #include "opencv2/calib3d/calib3d.hpp" #include "opencv2/imgproc/imgproc.hpp" @@ -76,4 +76,4 @@ class FeatureMatcher }; -#endif // FEATUREMATCHER_H +#endif // OPENALPR_FEATUREMATCHER_H diff --git a/src/openalpr/licenseplatecandidate.h b/src/openalpr/licenseplatecandidate.h index b1bab3a..ce64eeb 100644 --- a/src/openalpr/licenseplatecandidate.h +++ b/src/openalpr/licenseplatecandidate.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef STAGE2_H -#define STAGE2_H +#ifndef OPENALPR_LICENSEPLATECANDIDATE_H +#define OPENALPR_LICENSEPLATECANDIDATE_H #include #include @@ -72,4 +72,4 @@ class LicensePlateCandidate }; -#endif // STAGE2_H +#endif // OPENALPR_LICENSEPLATECANDIDATE_H diff --git a/src/openalpr/ocr.h b/src/openalpr/ocr.h index ea61657..f3a47c6 100644 --- a/src/openalpr/ocr.h +++ b/src/openalpr/ocr.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef OCR_H -#define OCR_H +#ifndef OPENALPR_OCR_H +#define OPENALPR_OCR_H #include #include @@ -56,4 +56,4 @@ class OCR }; -#endif // OCR_H +#endif // OPENALPR_OCR_H diff --git a/src/openalpr/platecorners.h b/src/openalpr/platecorners.h index ce5ddf9..9ff7dd7 100644 --- a/src/openalpr/platecorners.h +++ b/src/openalpr/platecorners.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef PLATECORNERS_H -#define PLATECORNERS_H +#ifndef OPENALPR_PLATECORNERS_H +#define OPENALPR_PLATECORNERS_H #include "opencv2/imgproc/imgproc.hpp" #include "characterregion.h" @@ -75,4 +75,4 @@ class PlateCorners }; -#endif // PLATELINES_H +#endif // OPENALPR_PLATELINES_H diff --git a/src/openalpr/platelines.h b/src/openalpr/platelines.h index f95e65d..45fbf9d 100644 --- a/src/openalpr/platelines.h +++ b/src/openalpr/platelines.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef PLATELINES_H -#define PLATELINES_H +#ifndef OPENALPR_PLATELINES_H +#define OPENALPR_PLATELINES_H #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" @@ -53,4 +53,4 @@ class PlateLines vector getLines(Mat edges, float sensitivityMultiplier, bool vertical); }; -#endif // PLATELINES_H +#endif // OPENALPR_PLATELINES_H diff --git a/src/openalpr/postprocess.h b/src/openalpr/postprocess.h index babc12a..d10cd43 100644 --- a/src/openalpr/postprocess.h +++ b/src/openalpr/postprocess.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef POSTPROCESS_H -#define POSTPROCESS_H +#ifndef OPENALPR_POSTPROCESS_H +#define OPENALPR_POSTPROCESS_H #include "TRexpp.h" #include "constants.h" @@ -125,4 +125,4 @@ class LetterScores vector scores; }; */ -#endif // POSTPROCESS_H +#endif // OPENALPR_POSTPROCESS_H diff --git a/src/openalpr/regiondetector.h b/src/openalpr/regiondetector.h index 867225b..d55aa04 100644 --- a/src/openalpr/regiondetector.h +++ b/src/openalpr/regiondetector.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef REGIONDETECTOR_H -#define REGIONDETECTOR_H +#ifndef OPENALPR_REGIONDETECTOR_H +#define OPENALPR_REGIONDETECTOR_H #include #include @@ -62,4 +62,4 @@ class RegionDetector vector aggregateRegions(vector regions); }; -#endif // REGIONDETECTOR_H +#endif // OPENALPR_REGIONDETECTOR_H diff --git a/src/openalpr/stateidentifier.h b/src/openalpr/stateidentifier.h index d12597d..d6bd731 100644 --- a/src/openalpr/stateidentifier.h +++ b/src/openalpr/stateidentifier.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef STATEIDENTIFIER_H -#define STATEIDENTIFIER_H +#ifndef OPENALPR_STATEIDENTIFIER_H +#define OPENALPR_STATEIDENTIFIER_H #include "opencv2/imgproc/imgproc.hpp" #include "constants.h" @@ -47,4 +47,4 @@ class StateIdentifier }; -#endif // STATEIDENTIFIER_H +#endif // OPENALPR_STATEIDENTIFIER_H diff --git a/src/openalpr/utility.h b/src/openalpr/utility.h index c7021ca..f33db31 100644 --- a/src/openalpr/utility.h +++ b/src/openalpr/utility.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef UTILITY_H -#define UTILITY_H +#ifndef OPENALPR_UTILITY_H +#define OPENALPR_UTILITY_H #include #include @@ -106,4 +106,4 @@ Rect expandRect(Rect original, int expandXPixels, int expandYPixels, int maxX, i Mat addLabel(Mat input, string label); -#endif // UTILITY_H +#endif // OPENALPR_UTILITY_H diff --git a/src/openalpr/verticalhistogram.h b/src/openalpr/verticalhistogram.h index 17da429..92c603d 100644 --- a/src/openalpr/verticalhistogram.h +++ b/src/openalpr/verticalhistogram.h @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#ifndef VERTICALHISTOGRAM_H -#define VERTICALHISTOGRAM_H +#ifndef OPENALPR_VERTICALHISTOGRAM_H +#define OPENALPR_VERTICALHISTOGRAM_H #include "opencv2/imgproc/imgproc.hpp" @@ -63,4 +63,4 @@ class VerticalHistogram HistogramDirection getHistogramDirection(int index); }; -#endif // VERTICALHISTOGRAM_H +#endif // OPENALPR_VERTICALHISTOGRAM_H