[shotwell] faces: do not fail loadNet without DNN
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] faces: do not fail loadNet without DNN
- Date: Sun, 21 Apr 2019 16:41:30 +0000 (UTC)
commit d7a39619c6c43ddc88f16ae50f990598cb86f37c
Author: Jens Georg <mail jensge org>
Date: Sun Apr 21 18:40:51 2019 +0200
faces: do not fail loadNet without DNN
subprojects/shotwell-facedetect/facedetect-opencv.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/subprojects/shotwell-facedetect/facedetect-opencv.cpp
b/subprojects/shotwell-facedetect/facedetect-opencv.cpp
index 1eff969a..70669e30 100644
--- a/subprojects/shotwell-facedetect/facedetect-opencv.cpp
+++ b/subprojects/shotwell-facedetect/facedetect-opencv.cpp
@@ -93,7 +93,7 @@ bool loadNet(cv::String baseDir) {
return true;
}
#else
- return false;
+ return true;
#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]