Bug 282592

Summary: Rejecting multiple faces at a time doesn't work properly
Product: [Applications] digikam Reporter: Kolia <thelwyn>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, fredericg_99
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Attachments: selecting few pic for rejection
result of the rejection: 2 pics left

Description Kolia 2011-09-23 03:55:13 UTC
Created attachment 63874 [details]
selecting few pic for rejection

Version:           2.1.1 (using KDE 4.7.0) 
OS:                Linux

After scanning for faces on pictures, if i select a few of false-positives amongst them (no faces actually on it), and click the red cross button top-right of one of them, it says it will apply the action (here, to reject) on the selected pictures. But it doesn't. It applies it to "most" of them only :D there is usually one or 2 left.

See the screenshots for a visual explanation!



Reproducible: Always

Steps to Reproduce:
Go to face recognition panel, in the People/Unknow part.
Select a few pictures there
CLick the red cross button top-right of one of them (to reject them)
Some pictures disappear (rejected), but not all.

Actual Results:  
Some pictures disappear (rejected), but not all.

Expected Results:  
All the pictures selected should be rejected and disappear.
Comment 1 Kolia 2011-09-23 04:06:22 UTC
Created attachment 63875 [details]
result of the rejection: 2 pics left
Comment 2 Kolia 2011-09-23 04:40:31 UTC
I keep using it, and now i've even seen it rejecting images actually not selected for rejection.
Comment 3 Frederic Grelot 2011-09-23 08:11:53 UTC
I didn't fill a bug yet about this, but I saw the same problem (I would say sometime between 2.0 and 2.1, although I'm not sure it wasn't present before)
Actually, the "remaining" pictures that you see (those that are not deleted) represent the *second half* (rounded up : 4/2->2, 5/2->3) of your seletion.
If you have 5 pictures, A, B, C, D, E and do one action on your selection (same problem if you tag or remove them from the face recognition), only A, B and C will be affected.
If you have more pictures, and select *some* of them (uncontinuous selection using the Ctrl key), the result is even worse : some of the picture inbetween get tagged, while some of the pictures you selected won't. That behaviour is very erratic, and I couldn't spend enough time on this to find a pattern... (and I didn't want to mess my recognition database...)

I hope this'll help!
Comment 4 Marcel Wiesweg 2011-09-24 11:57:42 UTC
already fixed...

*** This bug has been marked as a duplicate of bug 279977 ***
Comment 5 Kolia 2011-09-24 13:11:42 UTC
Great, thanks :)
Comment 6 caulier.gilles 2019-12-23 15:01:12 UTC
7.0.0-beta1 is out with new Face Recognition algorithm based on Deep
Learning/Neural Network API from OpenCV

https://download.kde.org/unstable/digikam/

Please test and give us a feedback

Thanks in advance
Gilles Caulier
Comment 7 caulier.gilles 2019-12-23 15:13:47 UTC
Not reproducible with 7.0.0-beta1