[Digikam-users] Digikam Face Detection does not work for me

Philip Johnsson philip.johnsson at gmail.com
Thu Jul 17 18:34:29 BST 2014


I have nothing to do with the digikam packages in Debian Sid BUT they
forcefully remove all haarcascades and lbpcascades files that Digikam
provides and make the packages dependent on them as provided from the
opencv-data package. the opencv-data package provides them in
/usr/share/opencv/haarcascades but I'm not sure if Digikam looks for them
in any other place than the self provided files in
/usr/share/kde4/apps/libkface/haarcascades? Might be a packaging problem
with Digikam or to patch Digikam to also look in
/usr/share/opencv/haarcascades for the files...


On Thu, Jul 17, 2014 at 6:34 PM, Am Tresen <Am.Tresen at gmx.de> wrote:

> Yeah, thank you for your ongoing support. I managed to have it run face
> detection properly by doing the following steps: (Debian Sid)
>
> 1.    Download the following repository and install it to
> /home/$YOURUSERNAME/.kde/share/apps/
>
> https://projects.kde.org/projects/extragear/libs/
> libkface/repository/revisions/master/show/data
>
> 2. Create a haarcascades folder within the new
> /home/YOURUSERNAME/.kde/share/apps/libkface      so that you will get
>
>     /home/YOURUSERNAME/.kde/share/apps/libkface/haarcascades/
>
> The folder will be EMPTY.
>
> 3. Copy all files from
>      /home/YOURUSERNAME/.kde/share/apps/libkface/data    to
> /home/YOURUSERNAME/.kde/share/apps/libkface/haarcascades/ folder, data
> should contain the necessary .XML files.
>
> At least it worked this way for me. It was a bit cumbersome since I copied
> every single file via terminal because I have no idea how to copy files
> into folders which my user has no write access to, but at least it worked
> after that.
>
> Thanks again for the help, much appreciated!
>
> Am 17.07.2014 14:00, schrieb digikam-users-request at kde.org:
>
>> Send Digikam-users mailing list submissions to
>>         digikam-users at kde.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://mail.kde.org/mailman/listinfo/digikam-users
>> or, via email, send a message with subject or body 'help' to
>>         digikam-users-request at kde.org
>>
>> You can reach the person managing the list at
>>         digikam-users-owner at kde.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Digikam-users digest..."
>>
>>
>> Today's Topics:
>>
>>     1. Re: Digikam Face Detection does not work for me (Am Tresen)
>>     2. Re: Digikam Face Detection does not work for me (maderios)
>>     3. Re: Digikam Face Detection does not work for me (Gilles Caulier)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 16 Jul 2014 18:58:33 +0200
>> From: Am Tresen <Am.Tresen at gmx.de>
>> To: digikam-users at kde.org
>>
>> Subject: Re: [Digikam-users] Digikam Face Detection does not work for
>>         me
>> Message-ID: <53C6AF39.1010905 at gmx.de>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>
>>
>> Thanks for the reply, I checked for my opencv version and it is 2.4.9,
>> which seems to be up to date according to the sourceforge website. Does
>> anyone else have any ideas?
>>
>> Today I tried manually creating a face marker and then ran the scan
>> again, still no result. When I use Detect & Recognize or just Recognize,
>> the progress will finish within 1 second. To me this makes sense for the
>> recognization (because i have only 1 face marker), but why does this
>> happen with d&r, too? Maybe this could be a hint for anything?
>>
>> Anyone else have ideas?
>>
>> Am 16.07.2014 um 14:00 schrieb digikam-users-request at kde.org:
>>
>>> Send Digikam-users mailing list submissions to
>>>         digikam-users at kde.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>         https://mail.kde.org/mailman/listinfo/digikam-users
>>> or, via email, send a message with subject or body 'help' to
>>>         digikam-users-request at kde.org
>>>
>>> You can reach the person managing the list at
>>>         digikam-users-owner at kde.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Digikam-users digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>      1. Re: Digikam Face Detection does not work for me
>>>         (Henrique Santos Fernandes)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Tue, 15 Jul 2014 14:30:33 -0300
>>> From: Henrique Santos Fernandes <sf.rique at gmail.com>
>>> To: digiKam - Home Manage your photographs as a professional with the
>>>         power of open source <digikam-users at kde.org>
>>> Subject: Re: [Digikam-users] Digikam Face Detection does not work for
>>>         me
>>> Message-ID:
>>>         <CAJpZ0xVRAnc1TdARgrYVr6D0PbLMeryy3s4s5=FM45h5bg+aww at mail.
>>> gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Check for opencv!
>>>
>>> It need to be some version realy new!
>>>
>>> Have to compile it someway weird i guess too.
>>>
>>> something about it in the list archives..
>>>
>>> Sorry dont be more helpfull
>>>
>>> []'sf.rique
>>> Henrique Santos Fernandes
>>>
>>>
>>> On Tue, Jul 15, 2014 at 2:48 AM, Am Tresen <Am.Tresen at gmx.de> wrote:
>>>
>>>  I'm pretty sure I'm doing something wrong, so maybe somebody can help
>>>> me.
>>>>
>>>> I'm running Digikam 4.1.0 on Debian Sid if that is of any matter.
>>>>
>>>> So, here is what I do: I start digikam, go to the Persons tab on the
>>>> left,
>>>> click on "search for faces", set it to "merge" (but I have tried all 3
>>>> options already out of pure desperation). I set the search options to
>>>> "all
>>>> collections", "all tags", and the search quality to 100 (slow).
>>>> Digikam does not show any results after scanning my images for about 2
>>>> hours then, no matter if I ran face-detection or face-detection and
>>>> recognition.
>>>>
>>>> Thanks in advance
>>>> _______________________________________________
>>>> Digikam-users mailing list
>>>> Digikam-users at kde.org
>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>
>>>>  -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <http://mail.kde.org/pipermail/digikam-users/
>>> attachments/20140715/9bb247c1/attachment-0001.html>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Digikam-users mailing list
>>> Digikam-users at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>
>>>
>>> End of Digikam-users Digest, Vol 110, Issue 17
>>> **********************************************
>>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 16 Jul 2014 20:51:27 +0200
>> From: maderios <maderios at gmail.com>
>> To: digikam-users at kde.org
>>
>> Subject: Re: [Digikam-users] Digikam Face Detection does not work for
>>         me
>> Message-ID: <53C6C9AF.3050408 at gmail.com>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>>
>> On 07/15/2014 07:30 PM, Henrique Santos Fernandes wrote:
>>
>>> Check for opencv!
>>>
>>> It need to be some version realy new!
>>>
>>>  - In Debian Sid and Jessie,  Opencv version is the newest (2.4.9)
>> - DK detection face is experimental
>>
>>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20140717/29854a71/attachment.html>


More information about the Digikam-users mailing list