[digikam] [Bug 375375] New: Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] New: Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

            Bug ID: 375375
           Summary: Various bugs detecting and tagging faces in current
                    5.4.0 Digikam appimage
           Product: digikam
           Version: 5.4.0
          Platform: Appimage
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Faces-Management
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Using the current appimage:

1. Cannot use mouse to select a name from dropdown menu.
I want to add a face rectangle to an existing image. so I click and drag a
rectangle and a combobox with name tags appears below it. I can open the menu
and scroll to a name, but I cannot select the name using the mouse. Nothing
happens.
I have to use the keyboard (ENTER) to select the name and then again the mouse
to click OK.
I would like to be able to use the mouse for the whole face tagging process
(for existing names).

2. Autocompletion of names does not work when typing inside the names combobox.
In the faces detection view, when hovering over a photo and typing into the
combobox that then appears, I can only type 1-2 letters before the input field
disappears again.
In the combobox that appears below existing faces rectangles in image previews,
I can type into the combobox, but the tag selection list does not filter
according to my entries.

3. Many faces are not detected - e.g. side portraits or upside-down faces.
Is this a known issue with the current faces detection library?

4. In the "Search faces" dialog which appears when opening the left side
"People" tag and clicking on "Search collection for faces" (approx.), only the
radio button option "Detect faces" works (ie. has any result). The second
option ("Detect and recognize faces") and third ("Recognize faces") always
yield 0 results at once.
I would like Digikam to detect and recognize faces. I have a corpus large
enough for it to learn. How do I do this?

Thank you!

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #1 from Jens <[hidden email]> ---
Update for #2: Autocomplete works in this case, but is case sensitive. I didn't
realize this, can you make it case insensitive (but case retaining, ie. use the
case of the word in the list, not the word that was typed)?

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #2 from Jens <[hidden email]> ---
5: when browsing images and face tags are active, the first "unknown" face
rectangle's bottom combobox (to enter a name) grabs the cursor focus so you
cannot navigate using the cursor keys any more.
Possible solution: Do not let the face rectangle combobox grab the keys
assigned to "next/previous/..." images, or generally, any non-character key
events.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from [hidden email] ---
Face Management recieve a lots of fix recently from Mario.

Please use 5.5.0 pre-release AppImage Bundle located here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

...and update this report...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #4 from Jens <[hidden email]> ---
Done. Here is my feedback:

1: fixed
2: works, but typing a "b" opens the batch processing window. New bug. :)
   Also I cannot switch between face rectangles using the mouse. How about
"tab"?
3: no difference detected yet.
4: still does not do anything.
5: still not working

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #5 from [hidden email] ---
About point 2 :

"b" is the shorcut to open BQM.
"l" is the shortcut to open Light table.

This can be customized in config shortcuts of course, but i think we must
disable this kind of top level shortcuts when focus is in tags enter field.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #6 from Maik Qualmann <[hidden email]> ---
2: When you hover a rectangle has the input filed the focus and you can type
"b" or "i". This is not reproducible here. After every 2. input the popup
disappears is known. It is hard to fix because the hovered graphic element has
no valid parent object. The position of the popup is already a hack, but better
than the inline completer. And yes, the combobox is not filtererd. The popup is
case insensitive filtererd.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #7 from Maik Qualmann <[hidden email]> ---
*** Bug 375418 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #8 from Mario Frank <[hidden email]> ---
Git commit dee3647b19a3e8c44292da19821fa0221400bb04 by Mario Frank.
Committed on 24/01/2017 at 14:37.
Pushed by mfrank into branch 'master'.

Made the detect and recognise pipeline for face detection and recognition work
again.
There is some design problem I think. So this is just a workaround.
The faces count in people sidebar should now be refreshed properly when
confirming and rejecting faces.
Selecting specific tags to scan for faces included not only the selected tags
but the tag paths.
So, faces from the super tags of the selected ones were scanned, too.

M  +7    -0    libs/album/albummanager.cpp
M  +6    -0    utilities/facemanagement/faceutils.cpp
M  +1    -1    utilities/maintenance/facesdetector.cpp
M  +3    -1    utilities/maintenance/imageinfojob.cpp

https://commits.kde.org/digikam/dee3647b19a3e8c44292da19821fa0221400bb04

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #9 from Mario Frank <[hidden email]> ---
Hey, had some time to search for the bugs yesterday evening.
The option detect and recognise should work now. There was a bug in fact.
I introduced a workaround until we can take care of the faces management in
detail.

I currently see no elegant way to fix the completer problem in line edit.

Concerning not detected faces: the detection algorithms usually need a fitting
orientation. So, upside-down faces may be problematic.

Traininig the face recognition is possible by explicitely setting face regions
and assigning the identities. And then rebuild the training data. The more
images you have, the better the recognition should become.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #10 from Jens <[hidden email]> ---
Great, I'd be happy to test an updated appimage. :) So:

1: fixed
2: no easy workaround for face tag dropdown not working on each second keypress
3: waiting for appimage to test
4: waiting for appimage to test
5: ?

Thank you!

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #11 from [hidden email] ---
Jens,

32 and 64 bits AppImage are just updated at usual place to GDrive repository :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #12 from Jens <[hidden email]> ---
Perfect, thank you!
With the new appimage, the menubar integration in Ubuntu also works again :-D

Also "detect and recognize" now does detect faces.
But no faces are recognized (although I already have a siginificant face corpus
with confirmed faces).
Also with recognized (unconfirmed and confirmed) photos a "group by face"
option for the main view would be great, instead of "group by album" etc. Then
it becomes much easier to confirm and reorder photos.

Thank you!

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #13 from [hidden email] ---
Jens,

As i know, the Face Recognition algorithm needs at least 4 faces already tagged
to be able to recognize automatically a new one.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

Sven <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #14 from Sven <[hidden email]> ---
I was testing the new appimage from Googledrive and must say, you did it. No
more crashes when tagging faces.

I did not test detecting faces, but the crashes where really annoying...

Thx

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #15 from [hidden email] ---
So, which point still valid for this report ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #16 from Sven <[hidden email]> ---
Point 1 is working now.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #17 from [hidden email] ---
And 2/, 3/, 4/, 5/ ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #18 from Sven <[hidden email]> ---
Points 2 - 5 are still valid.

Sorry i got carried away with joy because of no more crashes during tagging..

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 375375] Various bugs detecting and tagging faces in current 5.4.0 Digikam appimage

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375375

--- Comment #19 from Stefano <[hidden email]> ---
Note that point 2 works fine within the People view, but NOT in the album view
(last AppImage)

--
You are receiving this mail because:
You are the assignee for the bug.
12