photools.com Community

IMatch Bug Reports and Feature Requests => Feature Requests => Solved (Feature Requests) => Topic started by: WebEngel on June 19, 2023, 09:28:27 PM

Title: Temporarily not use a person in face detection
Post by: WebEngel on June 19, 2023, 09:28:27 PM
Use case: Kids have friends, but they don't meet one former friend anymore.  The friendship may be revived at some point in time.

Assume there was Max who was on several birthday parties.  However, for the last two years, Max has not been around anymore.  Nevertheless, Imatch frequently assigns pictures to Max, and I need to reassign them for every occurence.  Had Imatch less faces to choose from, there would be fewer misassignments.

I guess I could enter a death date for Max, but then I cannot delete the death date at a later point in time, so I cannot use Max at all anymore.  (Yes, I can understand the programming logic behind this: Resurrections are not common, and for the only reported case in the last 3000 years, there are no pictures unfortunately)

Any other ideas?
Title: Re: Temporarily not use a person in face detection
Post by: mastodon on June 20, 2023, 08:44:10 AM
I have similar problem with face recog. Maybe we would give a definitve list of persons for an event (a batch if recognition) to choose from.
Title: Re: Temporarily not use a person in face detection
Post by: Mario on June 20, 2023, 09:44:50 AM
Basically an per-person property/switch to exclude that person from being assigned to faces?

This would be doable, but could potentially cause performance issues in the sensitive recluster person task that runs after each face assignment / addition / movement to find matching persons. Because instead of finding the best match for a face, the process would have to consider an exclusion list. Not sure if this would make a small or huge difference in performance.
Title: Re: Temporarily not use a person in face detection
Post by: WebEngel on June 20, 2023, 10:33:59 PM
Quote from: Mario on June 20, 2023, 09:44:50 AMBasically an per-person property/switch to exclude that person from being assigned to faces?

This would be doable, but could potentially cause performance issues ...
That would be great.

Any performance issue would by far be outweighed by the time saved for not going thru 20 former friends every other day and find new pics assigned to them.
Title: Re: Temporarily not use a person in face detection
Post by: hluxem on June 20, 2023, 11:11:18 PM
I think that would be great!

I would have thought it makes it easier for the face recognition when less people need to be considered, but I maybe to old to understand how this all works.

Heiner
Title: Re: Temporarily not use a person in face detection
Post by: Damit on February 29, 2024, 05:50:30 PM
This is similar to the feature request found here: https://www.photools.com/community/index.php/topic,13551.0.html (https://www.photools.com/community/index.php/topic,13551.0.html), where I suggested a similar solution to the one Mario posited above.
Title: Re: Temporarily not use a person in face detection
Post by: PandDLong on March 03, 2024, 07:55:27 PM

I have this challenge as well.

A work-around I have chosen is to not create entries in the People database for individuals who will only exist for a few photos.  I have incorporated their information through the use of other tags and a metadata template - but it is a little complex.

A more elegant solution would be welcome.

Michael

Title: Re: Temporarily not use a person in face detection
Post by: PandDLong on March 05, 2024, 06:52:52 PM
Quote from: cg on September 24, 2023, 06:59:21 PMI run into this problem all the time.

The solution I've found is to turn off all trained faces for people I don't expect to ever have to identify again, and they no longer show up as suggestions.



From the other thread, this solution from CG makes a lot of sense and seems very reasonable and easily managed by the user.

Mario - does this effectively solve the problem identified at the beginning of this thread?   


Michael
Title: Re: Temporarily not use a person in face detection
Post by: Mario on March 05, 2024, 07:26:59 PM
Should to the trick.
As I wrote in the original post (I guess) I have thought about this but implementing it could cause performance issues since face recognition and reclustering is optimized to the hilt and runs 95% directly in the database kernel with the help of some in-database functions IMatch provides.

Changing this to exclude one or more persons could negatively impact performance and may cause an increase in runtime. Maybe even drastically, like a runtime that doubles or triples...

I have this on my to-do list, but demand seems low and implementation could cause performance issues. So this simmers on level 3. I may spend a day when I have one to see how this could be implemented and how it would affect performance. Maybe for IMatch 2024/2025...
Because, adding a "don't assign this person to faces" check box in the person editor would of course be comfortable to the users.
Title: Re: Temporarily not use a person in face detection
Post by: PandDLong on March 05, 2024, 09:05:22 PM

I am thinking that if not having any trained faces for a given person effectively takes that person out of the face recognition process, then you don't need to consider making a potentially complex change to iMatch.  

Add a tip to the People and Face sections of the online help - and you've got this situation covered.

Should I add a post to the Online Help section of the forum with this suggestion?

Michael
Title: Re: Temporarily not use a person in face detection
Post by: Mario on March 06, 2024, 12:05:59 AM

QuoteShould I add a post to the Online Help section of the forum with this suggestion?

Always.
Title: Re: Temporarily not use a person in face detection
Post by: vsammy on March 06, 2024, 09:45:37 PM
I once had a similar request...

https://www.photools.com/community/index.php/topic,11288.msg80621.html#msg80621
Title: Re: Temporarily not use a person in face detection
Post by: Damit on March 19, 2024, 06:40:20 PM
Quote from: Mario on March 05, 2024, 07:26:59 PMChanging this to exclude one or more persons could negatively impact performance and may cause an increase in runtime. Maybe even drastically, like a runtime that doubles or triples...

I have this on my to-do list, but demand seems low and implementation could cause performance issues. So this simmers on level 3. I may spend a day when I have one to see how this could be implemented and how it would affect performance. Maybe for IMatch 2024/2025...
Because, adding a "don't assign this person to faces" check box in the person editor would of course be comfortable to the users.
I too had a similar request: https://www.photools.com/community/index.php/topic,12874.msg90896.html#msg90896 (https://www.photools.com/community/index.php/topic,12874.msg90896.html#msg90896)

I am glad it is possibly taking some traction.  It would be helpful to also be able to tell I match which faces exist in a set of photos.  If you do a photoshoot of one person you can instruct Imatch to only match that person to faces in the set of pictures.
Title: Re: Temporarily not use a person in face detection
Post by: Mario on March 19, 2024, 06:49:53 PM
Quoteable to tell I match which faces exist in a set of photos.
 If you do a photoshoot of one person you can instruct Imatch to only match that person to faces in the set of pictures.
Wouldn't that be super tedious?
Why not just use manual face links instead or just assign the right person to the face annotation?
This takes a few seconds and is surely a lot faster than first telling IMatch that "this file contains Mary" and then letting IMatch search for the face and assign the person when a face is found.