Commit 4662dd94 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

Libkface now depand of last stable OpenCV library version 2.4.9

This prevent internal crash int Cv:Algorithm that we cannot handle in libkface as exception.
Now, Face Recognition do not crash but still report Exception at training operations, especially about wrong Cv:Matrix size :

digikam(8673)/digikam (core) Digikam::DImg::load:"/mnt/data2/photos/GILLES/NEW/Adrien/2010-04-13/20100413_009.jpg"  :
JPEG file identified
OpenCV Error: Assertion failed (0 <= _dims && _dims <= CV_MAX_DIM) in setSize, file /mnt/devel/opencv/modules/core/src/matrix.cpp, line 89
digikam(8673)/KFACE: cv::Exception training LBPH: /mnt/devel/opencv/modules/core/src/matrix.cpp:89: error: (-215) 0 <=_dims && _dims <= CV_MAX_DIM in function setSize

It still a problem somwhere, but it's better than previous state.

CCBUGS: 335624
CCBUGS: 330342
CCBUGS: 329873
CCBUGS: 326742
CCBUGS: 326586
CCBUGS: 326585
CCBUGS: 324774
CCBUGS: 323888
CCBUGS: 323361
CCBUGS: 320812
CCBUGS: 312440
CCBUGS: 309027
CCBUGS: 308645
CCBUGS: 301611
CCBUGS: 297558
CCBUGS: 285517
parent 867dcf8f
......@@ -69,7 +69,7 @@ MESSAGE(STATUS "OpenCV Root directory is: ${OpenCV_DIR}")
# check OpenCV version
# Libkface can be compiled with OpenCV 2.4.3, but at least 2.4.5 is suitbale without main bugs for Faces Recognition.
SET(OPENCV_MIN_VERSION "2.4.5")
SET(OPENCV_MIN_VERSION "2.4.9")
IF (OpenCV_VERSION)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment