<?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>440773</bug_id>
          
          <creation_ts>2021-08-09 08:57:56 +0000</creation_ts>
          <short_desc>Check for overlapping face regions</short_desc>
          <delta_ts>2022-10-12 20:47:41 +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-Detection</component>
          <version>7.3.0</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</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>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>mike_t_bike</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>metzpinguin</cc>
    
    <cc>natmo</cc>
    
    <cc>pschonmann</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/commit/7253440154529ab5d986c2869b08b5281639028e</cf_commitlink>
          <cf_versionfixedin>7.4.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2052186</commentid>
    <comment_count>0</comment_count>
    <who name="">mike_t_bike</who>
    <bug_when>2021-08-09 08:57:56 +0000</bug_when>
    <thetext>SUMMARY
In a historically grown photo collection persons have already been tagged. Digikam now detects faces where already rectangles show a face with a name. But it suggests someone completely different or leaves the field empty.
As ordinary user I&apos;d expect that either overlapping regions with only one face are merged or at least existing names are used as suggestion.

STEPS TO REPRODUCE
1. Take a large image collection with faces already tagged.
2. Start face detection and recognition.
3. Look into suggestions.

OBSERVED RESULT
Overlapping rectangles show a name and digikam suggests a different name or nothing for the recently detected face.

EXPECTED RESULT
Rectangles are merged or at least the existing name of the overlapping face is used.

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052205</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-08-09 10:03:28 +0000</bug_when>
    <thetext>Duplicate of Bug 415777 ?

In fact, we are checking for overlapping areas of the face, we may just need to increase the radius a little.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052207</commentid>
    <comment_count>2</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-08-09 10:04:55 +0000</bug_when>
    <thetext>A test image with existing face regions would be good.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052386</commentid>
    <comment_count>3</comment_count>
    <who name="">mike_t_bike</who>
    <bug_when>2021-08-09 19:51:23 +0000</bug_when>
    <thetext>I just sent an email.

Kind regards,
Michael</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052394</commentid>
    <comment_count>4</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-08-09 20:19:11 +0000</bug_when>
    <thetext>Thank you for the test image. The problem has already been reported to us once, but I have not yet been able to reproduce it and unfortunately I cannot reproduce it with this image either. When I do a face scan with the active Yolo v3 engine, 4 more faces are found in the background, the two in front remain unchanged and are also not doubled. Tomorrow I will test it on a Windows machine to see if there are any differences.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055254</commentid>
    <comment_count>5</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-08-22 16:34:30 +0000</bug_when>
    <thetext>*** Bug 441378 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064077</commentid>
    <comment_count>6</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-09-26 16:00:06 +0000</bug_when>
    <thetext>Git commit 7253440154529ab5d986c2869b08b5281639028e by Maik Qualmann.
Committed on 26/09/2021 at 15:57.
Pushed by mqualmann into branch &apos;master&apos;.

check for existing faces in the database
when reading face metadata.
Related: bug 441378, bug 415777
FIXED-IN: 7.4.0

M  +2    -2    NEWS
M  +37   -11   core/libs/database/item/scanner/itemscanner_photo.cpp

https://invent.kde.org/graphics/digikam/commit/7253440154529ab5d986c2869b08b5281639028e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2160516</commentid>
    <comment_count>7</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2022-10-12 20:47:41 +0000</bug_when>
    <thetext>*** Bug 460321 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>