[Bug 297558] New: Another crash when finding faces

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 297558] Another crash when finding faces

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=297558

--- Comment #17 from Gilles Caulier <[hidden email]> ---
Git commit fa909aa96e7e41225551cd9e866618717f1ea546 by Gilles Caulier.
Committed on 11/06/2014 at 21:06.
Pushed by cgilles into branch 'master'.

use a better C++ exception wrapper to handle non OpenCV exceptions (as pure C++
one)
Related: bug 335624, bug 330342, bug 329873, bug 326742, bug 326586, bug
326585, bug 324774, bug 323888, bug 323361, bug 320812, bug 312440, bug 309027,
bug 308645, bug 301611, bug 285517

M  +4    -0    libkface/facedetector.cpp
M  +17   -2    libkface/recognitiondatabase.cpp

http://commits.kde.org/libkface/fa909aa96e7e41225551cd9e866618717f1ea546

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 297558] Another crash when finding faces

Gilles Caulier-4
In reply to this post by Jaime Torres
https://bugs.kde.org/show_bug.cgi?id=297558

--- Comment #18 from Gilles Caulier <[hidden email]> ---
Git commit 4662dd94102f8144bc65ce1cb66d6b6cb1d500fd by Gilles Caulier.
Committed on 18/06/2014 at 14:22.
Pushed by cgilles into branch 'master'.

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.
Related: bug 335624, bug 330342, bug 329873, bug 326742, bug 326586, bug
326585, bug 324774, bug 323888, bug 323361, bug 320812, bug 312440, bug 309027,
bug 308645, bug 301611, bug 285517

M  +1    -1    CMakeLists.txt

http://commits.kde.org/libkface/4662dd94102f8144bc65ce1cb66d6b6cb1d500fd

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 297558] Another crash when finding faces

Gilles Caulier-4
In reply to this post by Jaime Torres
https://bugs.kde.org/show_bug.cgi?id=297558

--- Comment #19 from Gilles Caulier <[hidden email]> ---
Git commit 1fff86f31e3bf47a2a2cfa6eaa98bb1bdf1a863b by Gilles Caulier.
Committed on 24/06/2014 at 12:32.
Pushed by cgilles into branch 'master'.

add more test before to commit/checkout compressed histogram data in Face
database, to prevent crashes, especially if data are corrupted from database.
Related: bug 335624, bug 330342, bug 329873, bug 326742, bug 326586, bug
326585, bug 324774, bug 323888, bug 320812, bug 312440, bug 309027, bug 308645,
bug 301611, bug 285517

M  +62   -28   libkface/database/trainingdb.cpp

http://commits.kde.org/libkface/1fff86f31e3bf47a2a2cfa6eaa98bb1bdf1a863b

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 297558] Another crash when finding faces

Gilles Caulier-4
In reply to this post by Jaime Torres
https://bugs.kde.org/show_bug.cgi?id=297558

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #20 from Gilles Caulier <[hidden email]> ---
*** Bug 285517 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 297558] Another crash when finding faces

Gilles Caulier-4
In reply to this post by Jaime Torres
https://bugs.kde.org/show_bug.cgi?id=297558

--- Comment #21 from Gilles Caulier <[hidden email]> ---
With next digiKam 4.1.0, a lots of improvements/fixes have be done around face
management. Please give us a fresh feedback.

Note i recommend to delete face recognition database to prevent dysfunction due
to possible wrong data store in this container. Look where file is located in
my computer :

[gilles@localhost database]$ pwd
/home/gilles/.kde4/share/apps/libkface/database
[gilles@localhost database]$ ls -al
total 397028
drwx------ 2 gilles gilles      4096 juin  24 14:22 ./
drwx------ 3 gilles gilles      4096 juin  18 19:08 ../
-rw-r--r-- 1 gilles gilles 406543360 juin  24 14:22 recognition.db
[gilles@localhost database]$

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 297558] Another crash when finding faces

Jaime Torres
In reply to this post by Jaime Torres
https://bugs.kde.org/show_bug.cgi?id=297558

--- Comment #22 from Jaime Torres <[hidden email]> ---
After removing the face recognition database.
I'm still trying to crash it. No big memory leaks and no crash so far. (it
started with 1.7Gb of virtual memory and finished with 2.1Gb after looking at
~20.000 photos).
Great job.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 297558] Another crash when finding faces

Gilles Caulier-4
In reply to this post by Jaime Torres
https://bugs.kde.org/show_bug.cgi?id=297558

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |4.1.0
         Resolution|---                         |FIXED

--- Comment #23 from Gilles Caulier <[hidden email]> ---
Thanks For the feedback

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12