[Digikam-devel] [digikam] [Bug 336650] Face Detection always(!) crashes after first and only successful run (Digikam 3.4.0 on Windows 7)

Gilles Caulier caulier.gilles at gmail.com
Sun Jul 6 19:03:39 BST 2014


Gilles Caulier <caulier.gilles at gmail.com> changed:

           What    |Removed                     |Added
   Version Fixed In|                            |4.2.0
         Resolution|WAITINGFORINFO              |FIXED

--- Comment #3 from Gilles Caulier <caulier.gilles at gmail.com> ---
New pre-version of digiKam 4.2.0 windows installer is available here.


I recently released 4.1.0 installer which is available in offcial KDE download
repository, but this version crash immediately when face detection is started.

Crash appear when loading haar cascade XML files. There is no reason for
The crash  is inside core of OpenCV. This is not a problem relevant of digiKam.
I'm sure, i found partially why :

Originally, OpenCV have been compiled using minimal options enabled, to
optimize install. This is the case of 4.1.0 where OpenCV 2.4.9 is installed as
shared lib.

Trying to find the problem using small libkface tests program, i finally tried
to recompile and install whole OpenCV with all options enabled. And all work

So to conclude : OpenCV is a big mess puzzle, providing around 30 optional
features. Playing with this options as side effect due to internal
dependencies. OpenCV is really weird here.

For me this problem is an important UPSTREAM dysfunction which must be reported
to OpenCV team.

I don't know about Linux and OSX, but there is a big chance that similar
problem will appear if OpenCV compilation options are enabled or disabled...

So to all packagers, please take a care about OpenCV packages.

Thanks in advance.

Gilles Caulier

You are receiving this mail because:
You are the assignee for the bug.

More information about the Digikam-devel mailing list