[digikam] [Bug 323271] New: Face Recognition doesn't work

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

[digikam] [Bug 323271] New: Face Recognition doesn't work

Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

            Bug ID: 323271
           Summary: Face Recognition doesn't work
    Classification: Unclassified
           Product: digikam
           Version: 3.3.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Face Management
          Assignee: [hidden email]
          Reporter: [hidden email]

It can detect faces but after I assign names to them (Ex. Lucas, Carol, Paul)
It doesn't detect the person. I choose the try to recognize faces and got the
following output at the terminal:

 OpenCV Error: The function/feature is not implemented (This FaceRecognizer
(FaceRecognizer.LBPH) does not support updating, you have to use
FaceRecognizer::train to update it.) in update, file
/home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp, line
305
digikam(2796)/KFACE: cv::Exception training LBPH:
/home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp:305:
error: (-213) This FaceRecognizer (FaceRecognizer.LBPH) does not support
updating, you have to use FaceRecognizer::train to update it. in function
update

OpenCV Error: The function/feature is not implemented (This FaceRecognizer
(FaceRecognizer.LBPH) does not support updating, you have to use
FaceRecognizer::train to update it.) in update, file
/home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp, line
305
digikam(2796)/KFACE: cv::Exception training LBPH:
/home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp:305:
error: (-213) This FaceRecognizer (FaceRecognizer.LBPH) does not support
updating, you have to use FaceRecognizer::train to update it. in function
update

Reproducible: Always

Steps to Reproduce:
1. Detect Faces
2. ask to Recognize faces
3. Doesnt recognize any face at all.
Actual Results:  
No faces recognized. Only detected. Even after I try to "train the program".

--
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
|

Re: [digikam] [Bug 323271] New: Face Recognition doesn't work

Mahesh Hegde
Hi Lucas,

Please check whether you have OpenCV 2.4.5 or above,LBPH is not fully supported below OpenCV 2.4.4.


On Thu, Aug 8, 2013 at 4:00 AM, Lucas Linard <[hidden email]> wrote:
https://bugs.kde.org/show_bug.cgi?id=323271

            Bug ID: 323271
           Summary: Face Recognition doesn't work
    Classification: Unclassified
           Product: digikam
           Version: 3.3.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Face Management
          Assignee: [hidden email]
          Reporter: [hidden email]

It can detect faces but after I assign names to them (Ex. Lucas, Carol, Paul)
It doesn't detect the person. I choose the try to recognize faces and got the
following output at the terminal:

 OpenCV Error: The function/feature is not implemented (This FaceRecognizer
(FaceRecognizer.LBPH) does not support updating, you have to use
FaceRecognizer::train to update it.) in update, file
/home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp, line
305
digikam(2796)/KFACE: cv::Exception training LBPH:
/home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp:305:
error: (-213) This FaceRecognizer (FaceRecognizer.LBPH) does not support
updating, you have to use FaceRecognizer::train to update it. in function
update

OpenCV Error: The function/feature is not implemented (This FaceRecognizer
(FaceRecognizer.LBPH) does not support updating, you have to use
FaceRecognizer::train to update it.) in update, file
/home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp, line
305
digikam(2796)/KFACE: cv::Exception training LBPH:
/home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp:305:
error: (-213) This FaceRecognizer (FaceRecognizer.LBPH) does not support
updating, you have to use FaceRecognizer::train to update it. in function
update

Reproducible: Always

Steps to Reproduce:
1. Detect Faces
2. ask to Recognize faces
3. Doesnt recognize any face at all.
Actual Results:
No faces recognized. Only detected. Even after I try to "train the program".

--
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


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 323271] Face Recognition doesn't work

Mahesh Hegde
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

--- Comment #1 from Mahesh <[hidden email]> ---
Hi Lucas,

Please check whether you have OpenCV 2.4.5 or above,LBPH is not fully
supported below OpenCV 2.4.4.


On Thu, Aug 8, 2013 at 4:00 AM, Lucas Linard <[hidden email]>wrote:

> https://bugs.kde.org/show_bug.cgi?id=323271
>
>             Bug ID: 323271
>            Summary: Face Recognition doesn't work
>     Classification: Unclassified
>            Product: digikam
>            Version: 3.3.0
>           Platform: openSUSE RPMs
>                 OS: Linux
>             Status: UNCONFIRMED
>           Severity: major
>           Priority: NOR
>          Component: Face Management
>           Assignee: [hidden email]
>           Reporter: [hidden email]
>
> It can detect faces but after I assign names to them (Ex. Lucas, Carol,
> Paul)
> It doesn't detect the person. I choose the try to recognize faces and got
> the
> following output at the terminal:
>
>  OpenCV Error: The function/feature is not implemented (This FaceRecognizer
> (FaceRecognizer.LBPH) does not support updating, you have to use
> FaceRecognizer::train to update it.) in update, file
> /home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp,
> line
> 305
> digikam(2796)/KFACE: cv::Exception training LBPH:
>
> /home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp:305:
> error: (-213) This FaceRecognizer (FaceRecognizer.LBPH) does not support
> updating, you have to use FaceRecognizer::train to update it. in function
> update
>
> OpenCV Error: The function/feature is not implemented (This FaceRecognizer
> (FaceRecognizer.LBPH) does not support updating, you have to use
> FaceRecognizer::train to update it.) in update, file
> /home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp,
> line
> 305
> digikam(2796)/KFACE: cv::Exception training LBPH:
>
> /home/abuild/rpmbuild/BUILD/OpenCV-2.4.3/modules/contrib/src/facerec.cpp:305:
> error: (-213) This FaceRecognizer (FaceRecognizer.LBPH) does not support
> updating, you have to use FaceRecognizer::train to update it. in function
> update
>
> Reproducible: Always
>
> Steps to Reproduce:
> 1. Detect Faces
> 2. ask to Recognize faces
> 3. Doesnt recognize any face at all.
> Actual Results:
> No faces recognized. Only detected. Even after I try to "train the
> program".
>
> --
> 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
>

--
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 323271] Face Recognition doesn't work

Gilles Caulier-4
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

Gilles Caulier <[hidden email]> changed:

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

--- Comment #2 from Gilles Caulier <[hidden email]> ---
Mahesh,

This want mean that OpenCV version dependency must be patch in digiKam & co

Gilles

--
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
|

Re: [digikam] [Bug 323271] Face Recognition doesn't work

Mahesh Hegde
Gilles,

From Lucas build log I can see its displaying OpenCV 2.4.3 version,hence I strongly believe OpenCV 2.4.5 should be provided as required in CMake options of libkface to make face recognition work.But as I remember we already did it in libkface.


On Thu, Aug 8, 2013 at 1:28 PM, Gilles Caulier <[hidden email]> wrote:
https://bugs.kde.org/show_bug.cgi?id=323271

Gilles Caulier <[hidden email]> changed:

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

--- Comment #2 from Gilles Caulier <[hidden email]> ---
Mahesh,

This want mean that OpenCV version dependency must be patch in digiKam & co

Gilles

--
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


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 323271] Face Recognition doesn't work

Mahesh Hegde
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

--- Comment #3 from Mahesh <[hidden email]> ---
Gilles,

From Lucas build log I can see its displaying OpenCV 2.4.3 version,hence I
strongly believe OpenCV 2.4.5 should be provided as required in CMake
options of libkface to make face recognition work.But as I remember we
already did it in libkface.


On Thu, Aug 8, 2013 at 1:28 PM, Gilles Caulier <[hidden email]>wrote:

> https://bugs.kde.org/show_bug.cgi?id=323271
>
> Gilles Caulier <[hidden email]> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |[hidden email]
>
> --- Comment #2 from Gilles Caulier <[hidden email]> ---
> Mahesh,
>
> This want mean that OpenCV version dependency must be patch in digiKam & co
>
> Gilles
>
> --
> 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
>

--
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 323271] Face Recognition doesn't work

Gilles Caulier-4
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

--- Comment #4 from Gilles Caulier <[hidden email]> ---
Mahesh,

Currently OpenCV 2.4.4 is required, not 2.4.5 :

https://projects.kde.org/projects/extragear/libs/libkface/repository/revisions/master/entry/CMakeLists.txt#L75

Note : OpenCV 2.4.6 is out this summer :

http://opencv.org/downloads.html

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
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 323271] Face Recognition doesn't work

Marcel Wiesweg
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

--- Comment #5 from Marcel Wiesweg <[hidden email]> ---
2.4.3 has the bug the is described above. It's nothing particular, just a plain
old bug in OpenCV, 2.4.3 just won't work.
I never had 2.4.4 installed, LBPH was developed with 2.4.5. I hope 2.4.6 does
not introduce problems.

--
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 323271] Face Recognition doesn't work

Gilles Caulier-4
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/libk
                   |                            |face/a34ae6d03f6c11e926bd17
                   |                            |1f9795b5a20c55f058

--- Comment #6 from Gilles Caulier <[hidden email]> ---
Git commit a34ae6d03f6c11e926bd171f9795b5a20c55f058 by Gilles Caulier.
Committed on 09/08/2013 at 05:56.
Pushed by cgilles into branch 'master'.

Fix OpenCV version to use for Faces Recognition

M  +2    -1    CMakeLists.txt

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

--
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 323271] Face Recognition doesn't work

Gilles Caulier-4
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |3.4.0

--
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 323271] Face Recognition doesn't work

Bugzilla from deletesoftware@yandex.ru
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

Aleksej R. Serdyukov <[hidden email]> changed:

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

--- Comment #7 from Aleksej R. Serdyukov <[hidden email]> ---
Based on the description, shouldn't this bug be duplicate of bug 271679 instead
of RESOLVED FIXED?

--
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 323271] Face Recognition doesn't work

bugzilla_noreply
In reply to this post by Lucas Linard
https://bugs.kde.org/show_bug.cgi?id=323271

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Faces-Management            |Faces-Recognition

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