<?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>441378</bug_id>
          
          <creation_ts>2021-08-22 16:19:36 +0000</creation_ts>
          <short_desc>Prevent face bounding box overlap when same person</short_desc>
          <delta_ts>2021-09-26 15:59:58 +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>6.4.0</version>
          <rep_platform>Other</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="nathmo">natmo</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>metzpinguin</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>2055248</commentid>
    <comment_count>0</comment_count>
    <who name="nathmo">natmo</who>
    <bug_when>2021-08-22 16:19:36 +0000</bug_when>
    <thetext>SUMMARY
sometimes the program draw two bounding boxes around the same face. it tag them correctly twice as they both belong to the same person.

STEPS TO REPRODUCE
1. Find a picture with a face that have that problem (see attachment)
2. run the face automatic detection + tagging

OBSERVED RESULT
two bounding box overlap on the same face.

EXPECTED RESULT
Reject one of the overlapping bonding box when belonging to the same person.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Ubuntu 20.04.2 LTS
GNOME Version: 3.36.8 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I believe this a minor bug with a possibly simple work around of preventing box overlapping when of the same person that can slighty enhance the accuracy.

you might need the state of face recognition engine and I am not sure i included the right file but i will gladly try to attach the right one if needed and instruction are provided.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055253</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-08-22 16:34:29 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 440773 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064076</commentid>
    <comment_count>2</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-09-26 15:59:58 +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 440773, 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>
      
      

    </bug>

</bugzilla>