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()