Face Detection only working in Send to Viewer

Started by kiwilink, November 28, 2023, 06:16:18 PM

Previous topic - Next topic

kiwilink

When I am in "Media and Folders" and right click to "Detect Faces" and then send to viewer it always has a question mark (doesn't recognize the faces).  Even when I try "optimize for smaller faces or any other option).  Once in the viewer, I right click and choose detect faces (remove and run face recognition again), it always recognizes the faces correctly. 

I don't remember having to rerun these face recognitions in viewer every time. I must be doing something wrong or have changed a setting.  Doesn't matter who I run it on.  And this is family so I have thousands of each face.  I am running the latest release.

Any ideas what I am doing wrong?

Thanks!

Kiwilink  

Mario

This must depend on the size of the faces, I think.
The Viewer loads the full cache image and runs face detection on it. This usually helps when faces cannot be detected in the normal way because of the size of the face in the image (even when the optimize option is used).

You did not provide much info to work with.
No log file in debug mode from that session (see log file)
No sample image which would allow us to repeat your test.

You can attach a sample image or send it to support email address with a link back to this thread (I get many emails per day and this allows me to tell to which community thread your file belongs).
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

kiwilink

Mario:

Thank you very much for the response.  I just sent you an email with a picture and the log.  

Thanks!

Kiwilink

kiwilink

I wanted to add that when I went into Face Manager I noticed that all of my family faces have an Asterisk that says "This person has too many trained faces (66).  You should train approximately 5 to 10 faces per person."

Some of my family members have as many as 300 trained faces.  I don't know how this ocurred. I'm not sure how I should choose 10 faces and which ones I should choose because the faces are from 1966 thru 2023.

Not sure if this is what is causing Face manager not to recognize faces in "Media and Folders" or not.  I doubt it because it finds the right face in Viewer Mode.  I just wanted to add this piece of information.  I'm reading posts on this now.

Kiwilink

mastodon

Your should choose faces from different lifetime and from different angle. You can sort the faces by time in Face manager.

Mario

300 trained faces is way too much. 5 to 10 is sufficient. Maybe 15 tops if a wide range of ages is covered.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

#6
I have received the sample files.

I've added both files to a database.
The one with the white shirt was already tagged and confirmed with "Mike" and IMatch imported that.
The second file also had a face annotation, but not linked to a person.

I deleted the existing ? face annotation and pressed <F6> to let IMatch search again.
IMatch found the face and suggested "Mike" with an 58.7% confidence.
Of course having only two faces for training is not a real test case, but making some slightly rotated and cropped copies of the two images also always suggested Mike as the best match.

Maybe double-check the trained faces. And reduce the number of rejects you have used.
Rejecting too many faces can have a bad impact on overall recognition rate.

I have "Remove Reject feature" on my to-do list for a later IMatch release.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

kiwilink

Mario:

Thank you very much for the reply.  I tried a few pictures where there were 3 family members in the image.  I went into face manager before I detected faces within media and folders and I deleted all the rejected faces under that person.  I then made sure there were only 5 trained faces.  I then went to media and folders and I choose detect faces and create annotations.  Then I sent them to the viewer and got question marks for all three.  While in Viewer mode I chose detect faces and then chose remove existing faces and it then recognized all three faces.

Am I still doing something wrong?

Thanks,

Kiwilink


Mario

I would need at least 10 more images of that person, in various face orientations, to perform additional tests.
Please upload them to your cloud space and send me a link. Include a link back to this thread, because I get many emails per day.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

kiwilink

Per your request, I have sent you a link to 10 photos.  There is no hurry on this at all so when you get some free time that is fine.  Thank you.

Mario

I have received your email and added it to "My metadata/* does not work right" queue.
This queue is always filled and in, prolly, 85% of the cases it's not IMatch fault. I work on these tasks in the way the come in. And when you contact me 3 or 4 days apart, the queue has usually accumulated 15 or 20 new entries.

I will look at this, for sure.
Problems reported by only one user only which are not reproducible by me get priority 2 - which means, when there is time.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook