face recognition in digiKam 7.0.0-beta1

Hi there,

I’m testing face recognition new implementation on Beta1.
I have no positive recognition on the non-confirmed tag even with teaching the algorithm up to 10 images.

does it work for someone?
I did a detection of face, then tag some pictures and then run the recognize face feature. but no result appears.
working on a small db for test, it took some how 2 minutes of calculations.

1st of all is my workflow correct?

Yes, that is the way to do it and it works a lot better than it used to.
Things like the size of the face in the image and lens distortion do matter.

I’m also seeing behavior I don’t quite understand in regards to the “Uncomfirned” tag. Sometimes no faces turn up after a run. I’ve not had time to look into it properly and my situation is complicated by>

  1. Having used the previous face detection/recognition tool on some of the same images so there might be old cruft in the database preventing scan? Not all were recognized or detected with the previous algo.
  2. Running the tool by right clicking an album or doing the Workflow|Search in|Settings in the lower left of the People tag.
  3. Sometimes running with “detect faces” and sometimes with “recognize faces”.

Restarting digikam seems to (not sure yet) populate the “Unconfirmed” tag.

I haven’t found any documentation about how the settings are expected to influence results. I you need to run both detect and recognize to have auto recognition of faces.

The new tool is very good at detecting faces which is great!

Hello, are you running beta 1 (uploaded on Dec 22nd)?
If yes could you give a spin to a daily build (Jan 14)?
https://files.kde.org/digikam/

hello
@Andrius es I’m running Beta 1 from 12/22

I am in the same case study as @nosle in my second trial. I used a copy of my production database (around 4000 pictures) and it was tagged with the “old system” (6.X)
So I have analyzed again the pictures and rebuilt the deep learning db, and it works.

So I think the original issue come from the fact that pictures where tagged or analyzed (I don’t know) in the previous way.

so looks like it works pretty well

:smiley::+1:

1 Like

hello,
so following this topic and the use of face recognition, I’m facing an issue.
When I have a hierarchy such as “people/family/person1” and I run face recognition, some unknown people are suggested as “family”, and not as a person.
so if intermediate tag could be removed by defoult would be good.

I also see that the more you have face of a person, the less digikam can identify him.
a person with 10 photos before running face recognition is more proposed in “non confirmed” tag than one with already 2500 pictures

In the people left sidebar family should show up as a person. Then in the context menu there is an option to make this not a person anymore (don’t know by hart, should be easy to recognize).

I see the same thing - I suspect some model overfitting problem. I have an approach in mind that targets the workflow/UX, but don’t have the time to implement. Essentially it comes down to not only save the “best match”, but all matches above a threshold. Then the same unconfirmed face can turn up under several people. Once any of those is confirmed, all other matches would obviously get wiped.

Looks like there are multiple bug reports on face recognition:

Bugzilla search for face recognition

@Nemesis do you mind posting your comment in on the bug reports whichever you feel is more relevant to you?

And indeed there already is a report for exactly this problem: 415782 – Face recognition "favors" people with few images: missing faces clustering :slight_smile:

A question/suggestion about the workflow. After running face recognition and the Unconfirmed tag is populated I can only see the faces in the Thumbnail layout. I can’t see what face digiKam has guessed/identified without clicking the thumbnail. This means I can’t quickly confirm digiKams guesses.

Is there an ideal workflow for facetagging that avoids this problem?

If not I have a few suggestions.

  1. Show the tag under each identified face in thumbnail view (Unconfirmed folder)
  2. Allow sorting faces by identified tag. By having faces grouped it’s much quicker mentally and physically to manage tagging
1 Like

@rasimo In the people left sidebar family should show up as a person. Then in the context menu there is an option to make this not a person anymore (don’t know by hart, should be easy to recognize).

I know it’s been a while but I never found this option, does someone know where it is?

What didn’t you find? Didn’t you recognize the entry in the context menu to mark it as “not a person”? Then screenshot it please.

I don’t know what I’m doing wrong, but face detection doesn’t work for me at all. I scan for face detection, I tag some pictures, I start recognize faces but nothing happens. The category of unknown faces is full of faces, the category of unconfirmed is empty. Shouldn’t the last one be filled with those images that contain similar faces to what I taged? Digikam 7.1 and 7.2 beta2

HI,
Sorry Again for the delay, I forgot to answer … :sweat_smile:
here below the right click menu
It is in French, but translation is :

  • New tag
  • Initialize Tag Icon
  • develop selection
  • reduce selection
  • find duplicate
  • Export
  • Delete Face Tag
  • Propriety

Screenshot_20201206_170908

Sorry, I start recognize faces but nothing happens…

I meant “Supprimer l’étiquette de visage”, but I just tried myself and it said it would also remove all the child tags. I would have expected it will ask separately about the tag itself and children. However I did not have any faces tagged (or suggested) on the parent tag, so maybe things are different for you - I’d suggest trying it out. Other than that, no clue what to do except for deleting all face training and starting again.

It looks like i is maybe maangeable from the Tag manager where I have “delete Tag from images” and it doesn’t delete the sub Tag.
I can also define a Tag as “face” in the the tag manager , but cannot remove it.