Skip to main content
Jeff A. Goulden
Inspiring
June 9, 2023
Answered

Identify Photos Needing AI Masking Update

  • June 9, 2023
  • 2 replies
  • 2361 views

I am using Lightroom Classic 12.3 on Windows 11. I have a number of photos that need their AI masking updated.  These are identified in the Develop module by a small red dot under the masking icon (see attached).  Is there any way I can identify all the photos in my catalog that need to have their AI masking updated?

This topic has been closed for replies.
Correct answer johnrellis

John, I ran AnyFilter and found most but not all files that needed updating.  I've ran it several times and each time, I updated the masks and then ran AnyFilter again and found more.  I'm a bit confused as to what's going on.

 

I've also noticed that there are some files that need the healing brush to be updated.  Is there any way to find those?

 

I also have another situation where a couple of files were corrupted and could not be read by Lightroom in the Develop Mode.  Those files had to be recovered from a backup.  I know that you can find missing files in Lightroom itself but is there any way in AnyFilter where you can find a file that is present but can't be read by Lightroom.  Or is that a leap too far?


[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

"I've also noticed that there are some files that need the healing brush to be updated.  Is there any way to find those?"

 

Try this Any Filter query:

 

Copy and paste this line (as one line) into the "code:" field:

 

require "Util".arrayReduce (photo:getDevelopSettings ().RetouchAreas or {}, false, function (b, a) return b or (a.SpotType == "heal_patchmatch" and a.pm_patch == nil) end)

 

 

Update: I corrected the "code:" line above -- I had given an old incorrect version. (I'm adding this as a built-in filter in the next release.)

2 replies

johnrellis
Genius
June 9, 2023

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

You can update all the masks needing updating in batch:

1. Go to Library Grid view.

2. Click All Photographs.

3. Do the menu command Photo > Stacking > Expand All Stacks.

4. Select all the photos.

5. Do the menu command Photo > Develop Settings > Update AI Settings.

 

This will update just those AI masks needing updating, skipping over the other photos reasonably quickly.

 

If you really want to see the photos needing updating, you'll have to use the Any Filter plugin's Search command with this query:

 

Jeff A. Goulden
Inspiring
June 9, 2023

Thanks John.  I'll try your suggestion in AnyFilter.

Jeff A. Goulden
Inspiring
June 11, 2023

John, I ran AnyFilter and found most but not all files that needed updating.  I've ran it several times and each time, I updated the masks and then ran AnyFilter again and found more.  I'm a bit confused as to what's going on.

 

I've also noticed that there are some files that need the healing brush to be updated.  Is there any way to find those?

 

I also have another situation where a couple of files were corrupted and could not be read by Lightroom in the Develop Mode.  Those files had to be recovered from a backup.  I know that you can find missing files in Lightroom itself but is there any way in AnyFilter where you can find a file that is present but can't be read by Lightroom.  Or is that a leap too far?

Ian Lyons
Community Expert
Community Expert
June 9, 2023

Although it has been requested, at present there is no automatic way to identify photos that need to have the AI masks updated.

Jeff A. Goulden
Inspiring
June 9, 2023

Thanks Ian.  It looks like I can use the AnyFilter plugin.