Problem with face recognition

Frédéric Chaume frederic.chaume at gmail.com
Sun Dec 25 16:15:41 GMT 2016


new update:

I used the option "detect face" only (previously was using (detect and 
recognize), and it is working better, close to 288 new faces identified, 
but digikam fialed.

I try to open it again, and as soon as I click on "unknown" in the list 
of people tags , it failed:


digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  2  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.database: " ( ( (ImageTagProperties.tagid=? OR 
ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND 
ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR 
ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND 
ImageTagProperties.property=? ) ) "
digikam.database: Search query:
  "SELECT DISTINCT Images.id, Images.name, Images.album, 
Albums.albumRoot,        ImageInformation.rating, 
Images.category,        ImageInformation.format, 
ImageInformation.creationDate,        Images.modificationDate, 
Images.fileSize,        ImageInformation.width, 
ImageInformation.height,        ImageTagProperties.value, 
ImageTagProperties.property, ImageTagProperties.tagid  FROM 
Images        INNER JOIN ImageTagProperties ON 
ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation 
ON Images.id=ImageInformation.imageid INNER JOIN Albums           ON 
Albums.id=Images.album WHERE Images.status=1 AND (  ( ( 
(ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id 
FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( 
(ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id 
FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=? ) )  );"
  (QVariant(int, 25), QVariant(int, 25), QVariant(QString, 
"autodetectedFace"), QVariant(int, 25), QVariant(int, 25), 
QVariant(QString, "tagRegion"))
digikam.database: Search result: 4320
digikam.general: Cancel Main Thread
digikam.general: One job is done
digikam.geoiface: ----
digikam.metaengine: Exiv2 ( 2 ) :  Directory Pentax, entry 0x0004: Data 
area exceeds data buffer, ignoring it.

/tmp/.mount_eSLYuC/AppRun : ligne 37 : 11389 Erreur de segmentation  
digikam.wrapper $@


any idea ?

I'm running DK 5.4.0 on Linux Mint 18

(

Date de compilation : Dec 3 2016 (cible : debug)
Rév. : e827054ebf4ff3ea7a4adaadcb36f989f48cc50e ) 
<http://commits.kde.org/digikam/e827054ebf4ff3ea7a4adaadcb36f989f48cc50e>

thanks for your help



Le 24/12/2016 à 18:41, Frédéric Chaume a écrit :
> Hi all
>
> made some test,
>
> I selected all my albums and it took 18s :-(, and obvisouly no face found
>
> below an extract of the messages from the terminal, if it can help 
> someone
>
> digikam.general: "Face Detection Dialog"
> digikam.facesengine: Face database ready for use
> digikam.general: Face PipeLine: add preview thread
> digikam.general: Face PipeLine: add single thread detector
> digikam.general: Face PipeLine: add recognition worker
> digikam.general: Face PipeLine: add database writer
> digikam.general: Total is 682
> digikam.general: false false
> digikam.general: Using  2  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: false true
> digikam.general: One job is done
> digikam.general: Check for finish:  0 packages, 0 infos to filter, 
> hasFinished() true
> digikam.general: false false
> digikam.general: Using  2  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: false true
> digikam.general: One job is done
> digikam.general: Check for finish:  0 packages, 0 infos to filter, 
> hasFinished() true
> digikam.general: false false
> digikam.general: Using  2  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: false true
> digikam.general: One job is done
> digikam.general: Check for finish:  0 packages, 0 infos to filter, 
> hasFinished() true
> digikam.general: false false
> digikam.general: Using  2  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: false true
> digikam.general: One job is done
> digikam.general: Check for finish:  0 packages, 0 infos to filter, 
> hasFinished() true
> digikam.general: false false
>
> .....
>
> digikam.general: false false
> digikam.general: Using  2  CPU core to run threads
> digikam.general: Action Thread run  1  new jobs
> digikam.general: false true
> digikam.general: One job is done
> digikam.general: Check for finish:  0 packages, 0 infos to filter, 
> hasFinished() true
> digikam.general: false false
> digikam.general: Event is dispatched to desktop notifier through DBUS
>
>
> Merry Christmas !!!!
>
>
>
> Le 11/12/2016 à 19:43, Johannes Kapune a écrit :
>> I tried it just now again.
>>
>> DigiKam starts searching. I do it with complete set of pictures and 
>> for ~100.000 it will take some time ;-)
>>
>> ok, here it is 5.3.0 AppImage
>>
>> regards
>> Johannes
>>
>> Am 11.12.2016 um 18:53 schrieb Frédéric Chaume:
>>> Hi Johannes
>>>
>>> I tried with same value than you, analysis took 0s and didn't report 
>>> any
>>> new faces
>>>
>>>
>>>
>>> regards
>>>
>>>
>>> frederic
>>>
>>>
>>>
>>> Le 11/12/2016 à 12:16, Johannes Kapune a écrit :
>>>> Hi Frédéric,
>>>>
>>>> I saw same behaviour when I used face recognition.
>>>>
>>>> If you play with: options / parameter
>>>> you will get some more hits but also some false face detections.
>>>>
>>>> (Actually I use a value of 35)
>>>>
>>>> regards
>>>> Johannes
>>>>
>>>>
>>>> Am 11.12.2016 um 11:09 schrieb Frédéric Chaume:
>>>>> Hi All
>>>>>
>>>>>
>>>>> I have the same behavior with last 5.4.0-01-x86-64.appimage
>>>>>
>>>>> in the option,I have just selected few albums     (not all 
>>>>> because of
>>>>> time to proceed)
>>>>>
>>>>> options I have used (translated from french, so my be not exactly 
>>>>> as in
>>>>> windows in english)
>>>>>
>>>>> - clean-up not confirmed results and analyze again
>>>>>
>>>>> Â - detect and recognize face
>>>>>
>>>>> in advanced I have also selected "clean-up and rebuilt learning 
>>>>> data" to
>>>>> force to analyze again
>>>>>
>>>>> then execute. Process took 36 seconds , but nothing has changed in 
>>>>> the
>>>>> faces. No new, no unknown,..
>>>>>
>>>>> did I miss something ?
>>>>>
>>>>>
>>>>> thanks
>>>>>
>>>>> frederic
>>>>>
>>>>>
>>>>> Le 07/12/2016 à 04:47, Gilles Caulier a écrit :
>>>>>> Typically no. Just backup your database files before, to be sure.
>>>>>>
>>>>>> Gilles Caulier
>>>>>>
>>>>>> 2016-12-06 22:59 GMT+01:00 Jack Marxer <jmarxer at gmail.com
>>>>>> <mailto:jmarxer at gmail.com>>:
>>>>>>
>>>>>>     Will I lose all the previously tagged faces (several 
>>>>>> thousand) if
>>>>>>     I use the 5.4.0 appimage?
>>>>>>
>>>>>>     On Tue, Dec 6, 2016 at 10:32 PM, Gilles Caulier
>>>>>> <<mailto:caulier.gilles at gmail.com>caulier.gilles at gmail.com> wrote:
>>>>>>
>>>>>>         Forget 4.4.0.
>>>>>>
>>>>>>         Try universal Linux AppImage bundle 5.4.0 pre-version 
>>>>>> instead
>>>>>>         the system based package :
>>>>>>
>>>>>> https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM
>>>>>> <https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM> 
>>>>>>
>>>>>>
>>>>>>         Work perfectly here...
>>>>>>
>>>>>>         Gilles Caulier
>>>>>>
>>>>>>         2016-12-06 22:11 GMT+01:00 Jack Marxer
>>>>>> <<mailto:jmarxer at gmail.com>jmarxer at gmail.com>:
>>>>>>
>>>>>>             Hello,
>>>>>>             I'm using DigiKam 4.4.0 under Debian Jessie and when 
>>>>>> I try
>>>>>>             to scan either some selected albums or the whole
>>>>>>             collection, I immediately get the following message:
>>>>>>
>>>>>>             Process is done. Duration: 00:00:00
>>>>>>
>>>>>>
>>>>>>             Any idea what is going wrong?
>>>>>>
>>>>>>
>>>>>>             Jack Marxer
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20161225/704f2671/attachment.html>


More information about the Digikam-users mailing list