From 80928d0471f2e0c6893ecc1462289f3402c98db4 Mon Sep 17 00:00:00 2001 From: Kees-V Date: Wed, 13 May 2015 16:12:24 +0200 Subject: [PATCH] Revert "Wrong files..." This reverts commit 9fc8965a32465c636ce11874c587b5a2be741415. --- src/openalpr/edges/platelines.cpp | 4 ++-- src/openalpr/featurematcher.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openalpr/edges/platelines.cpp b/src/openalpr/edges/platelines.cpp index 1d6ca5d..ec7aa27 100644 --- a/src/openalpr/edges/platelines.cpp +++ b/src/openalpr/edges/platelines.cpp @@ -59,8 +59,8 @@ namespace alpr // Do a bilateral filter to clean the noise but keep edges sharp Mat smoothed(inputImage.size(), inputImage.type()); -// adaptiveBilateralFilter(inputImage, smoothed, Size(3,3), 45, 45); - bilateralFilter(inputImage, smoothed, 3, 45, 45); + adaptiveBilateralFilter(inputImage, smoothed, Size(3,3), 45, 45); + int morph_elem = 2; int morph_size = 2; diff --git a/src/openalpr/featurematcher.cpp b/src/openalpr/featurematcher.cpp index f55b92c..2d92900 100644 --- a/src/openalpr/featurematcher.cpp +++ b/src/openalpr/featurematcher.cpp @@ -34,12 +34,12 @@ namespace alpr this->config = config; //this->descriptorMatcher = DescriptorMatcher::create( "BruteForce-HammingLUT" ); -// this->descriptorMatcher = new BFMatcher(NORM_HAMMING, false); + this->descriptorMatcher = new BFMatcher(NORM_HAMMING, false); //this->descriptorMatcher = DescriptorMatcher::create( "FlannBased" ); -// this->detector = new FastFeatureDetector(10, true); -// this->extractor = new BRISK(10, 1, 0.9); + this->detector = new FastFeatureDetector(10, true); + this->extractor = new BRISK(10, 1, 0.9); } FeatureMatcher::~FeatureMatcher()