From 895352b258ac1a43a1fa1dde8607b16694bca716 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Fri, 11 Jul 2014 10:49:01 -0400 Subject: [PATCH] apply the ROI _after_ decoding the image --- openbr/plugins/algorithms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/algorithms.cpp b/openbr/plugins/algorithms.cpp index 5da894f..81c41f6 100644 --- a/openbr/plugins/algorithms.cpp +++ b/openbr/plugins/algorithms.cpp @@ -39,7 +39,7 @@ class AlgorithmsInitializer : public Initializer Globals->abbreviations.insert("BlurredFaceDetection", "Open+LimitSize(1024)+SkinMask/(Cvt(Gray)+GradientMask)+And+Morph(Erode,16)+LargestConvexArea"); Globals->abbreviations.insert("DrawFaceDetection", "Open+Cascade(FrontalFace)+Expand+ASEFEyes+Draw"); Globals->abbreviations.insert("ShowFaceDetection", "DrawFaceDetection+Expand+Show"); - Globals->abbreviations.insert("DownloadFaceRecognition", "Download+ROI+Expand+FaceDetection+Expand++Expand++++SetMetadata(AlgorithmID,-1):MatchProbability(ByteL1)"); + Globals->abbreviations.insert("DownloadFaceRecognition", "Download+Open+ROI+Expand+Cvt(Gray)+Cascade(FrontalFace)+Expand++Expand++++SetMetadata(AlgorithmID,-1):MatchProbability(ByteL1)"); Globals->abbreviations.insert("OpenBR", "FaceRecognition"); Globals->abbreviations.insert("GenderEstimation", "GenderClassification"); Globals->abbreviations.insert("AgeEstimation", "AgeRegression"); -- libgit2 0.21.4