<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>365321</bug_id>
          
          <creation_ts>2016-07-10 13:56:00 +0000</creation_ts>
          <short_desc>Scan + recognize faces does not work.</short_desc>
          <delta_ts>2016-09-17 05:38:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Faces-Engine</component>
          <version>5.0.0</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Evert Vorster">evorster</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>deletesoftware</cc>
    
    <cc>koesterreich</cc>
    
    <cc>korossy</cc>
    
    <cc>mrzanda</cc>
    
    <cc>simon</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>5.2.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1606664</commentid>
    <comment_count>0</comment_count>
    <who name="Evert Vorster">evorster</who>
    <bug_when>2016-07-10 13:56:00 +0000</bug_when>
    <thetext>When selecting scan and recognize faces in collection, no faces are detected. 
When just detecting faces, the detector finds faces. When just recognizing faces, the face recognizer works, but when used together it just skips all the images. 



Reproducible: Always

Steps to Reproduce:
1.Select scan and recognise faces in collection.
2.Select collection to scan
3.Press OK

Actual Results:  
No faces detected, process finishes quickly. 

Expected Results:  
Faces found and recognized. 

This is a bug that was discovered while investigating a segfault in the scanner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607908</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2016-07-14 09:02:28 +0000</bug_when>
    <thetext>*** Bug 271679 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607910</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2016-07-14 09:03:53 +0000</bug_when>
    <thetext>*** Bug 321297 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618946</commentid>
    <comment_count>3</comment_count>
    <who name="Pal Körössy">korossy</who>
    <bug_when>2016-09-04 08:50:06 +0000</bug_when>
    <thetext>For me it was the same with digikam 4.6 until I realized that both libopencv2_4 and libopencv3 was installed. After removing libopencv3_1 face detection works well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618958</commentid>
    <comment_count>4</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2016-09-04 09:38:23 +0000</bug_when>
    <thetext>Great to see this issue with both OpenCV2 and 3

Typically both version can be installed at the same time of course. After all it&apos;s a shared libray.

But opencv is a big mess. I&apos;m not surprised about run time incompatibility with version 2 and 3. I recommend to report this problem to OpenCV team.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618966</commentid>
    <comment_count>5</comment_count>
    <who name="Evert Vorster">evorster</who>
    <bug_when>2016-09-04 10:22:13 +0000</bug_when>
    <thetext>On Arch Linux I only have OpenCV v3 installed, and this is where I am seeing the issue. 
So, the fix proposed does not work for me, and I am opening the ticket again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618967</commentid>
    <comment_count>6</comment_count>
    <who name="Evert Vorster">evorster</who>
    <bug_when>2016-09-04 10:23:41 +0000</bug_when>
    <thetext>Just want to add. 

Scanning for faces works fine, and recognizing faces works fine, but when the &quot;scan and recognize&quot; faces button is clicked, nothing happens, no faces are scanned, and none recognized. 

-Evert-</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622763</commentid>
    <comment_count>7</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2016-09-17 05:38:19 +0000</bug_when>
    <thetext>Since i fixed bugs #366557 and #335013, this dysfunction is not reproducible.

Here i use OpenCV 3.1.0 with Mageia 6, and the detection + recognition option work as expected. I do not stop immediately as with previous version.

The fix will be published with next 5.2.0 release.

I close this file now.

Gilles Caulier</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>