Skip to main content
Wolf Eilers
Inspiring
April 26, 2015
Released

P: Allow facial recognition feature to re-index a folder/collection

  • April 26, 2015
  • 110 replies
  • 3791 views

Currently it is not possible to invoke a re-indexing of facial recognition data at either the global or folder/collection level. For my purposes re-indexing at the folder and collection level would be sufficient.

Reason: when a face is removed from a previously indexed image it is not possible to automatically recognize faces other than reviewing many images and manually applying a face region.

See this forum discussion: https://forums.adobe.com/message/7472...

110 replies

OzgurGuney
Participant
November 26, 2016


Face Recognition cannot be reset for removed photos from Face Recognition list. Please add Reindex Face Recognition command to the menu
andreasa33772134
Participating Frequently
November 5, 2016
Yes, they don't stand out for listening to the customers and caring about even such simple things. 
Try me solution posted two months ago with the "flip horizontal" approach. I was able to solve it all. Also would suggest not to do all 100k in one go, but break it down by one folder or group of folders at the time? Good luck.
Inspiring
November 5, 2016
This feature request has been around 2 years and Adobe hasn't yet added such basic control?! REALLY?

I imported 100K photos and Lightroom CC crashed half way through the face recognition. Now I can't get it to re-scan the the appropriate folders to fix this.  Vary frustrating.
andreasa33772134
Participating Frequently
August 23, 2016
(1) You select the folder or group of pictures you want to scan by simply clicking on them
(2) In menu "Photos" you click "Flip horizontal"
(3) You select the "box with face" on the lower bar (this will start looking for faces, where you confirm the names, rename or discard
(4) (when done) in menu "Photos" you click "Flip horizontal" again, et voilà...
August 22, 2016
Can you describe the actual tools/menus you used to do this? 
I can't see how to flip multiple selections,or "run face recognition".
Thx
andreasa33772134
Participating Frequently
August 22, 2016
Recently I tried the trick to
(1) "select all the images"
(2) "flip them horizontally" 
(3) "run the face recognition
(4) flip back (the recognized faces stick)
Like this was able to find by the thousands, but still not sure got all of them...
August 22, 2016
I recently imported my 80,000 photo library. Things were progressing well until I discovered whole folders and many images (5000) were "unable to be found". Doing a search for missing images and manually reconnecting each folder, fixed many issues, but now none of these 5000 photos have any facial recognition and there's no way to initiate it. They were skipped (because they were missing, even though the paths were correct), so that's it. No 2nd chances! This is madness.
Inspiring
June 28, 2016
I appreciate all the effort the above response entailed but....This is a conceptually simple process: Select files that need the facial recognition reset, then reset, then do a new scan. The above description of 10 steps and accessing tables and such is way too complicated. This complication should not be visible to the user.

When facial recognition was introduced, I processed my catalog (130,000) files. At that point, facial recognition was so bad, most of the results were junk. Since then facial recognition for new photos seems a lot better. I need help resetting or re-indexing without needing to know where LR stores tables and stuff and following 10 steps.
Inspiring
June 28, 2016
This is an important feature that needs to be implemented.
Inspiring
June 23, 2016

If you flip your images horizontally, you can get LR to start indexing again, and it does find some missing images. When it has finished just flip them all back again. The faces flip back as well.

But to re-index a folder from scratch again, perhaps because like me you have accidentally deleted some faces, is more complicated. It can be done as I've just done it on a folder of 6000 images, part of a 100K catalog.

Step 1 is to backup the catalog, twice if you are of a nervous disposition!

Step 2 is to select the images in the folder you want to re-index from scratch, and export them to a new catalog (without originals or previews - you just want the data in the catalog)

Step 3 is to download a browser that allows you to look at and edit tables in the catalog. I use DB browser for SQLite < https://github.com/sqlitebrowser/sqlitebrowser/releases>

Step 4 is to open the new catalog containing the images to be re-indexed with the browser (NOT with LR ).

Step 5 is to find the tables in the browser that pertain to face recognition. I found four containing face info

Adobe_libraryImageFaceProcessHistory

AgLibraryFace

AgLibraryFaceCluster

AgLibraryFaceData


Step 6 is to delete all the lines of info in these tables. Just select all the lines in a table in the usual way and then click on delete at top right. Repeat with the other face tables

Step 7 is to save the edited catalog without the face info, and exit the browser.

Step 8 is to open LR with your main catalog, and remove the contents of the folder you are about to reimage. Remove the files from the catalog, NOT from the disk. This process can take some time. I watched it using the Performance monitor in win10, because although deleting the images from the catalog is more or less instant, deleting the previews is a more lengthy affair which seems to occur when LR feels like it.

Step 9 is to import the images from the edited catalog without face info back into your main catalog, where they will replace the ones you have just removed that had face info.

Step 10 is to tell LR to make new previews for these imported images (all your editing data is still there - you have not lost it), and then to start face recognition on this folder.


I have just done this and all my faces of named and unnamed people are now back; the main catalog passes the LR integrity test and I'm now back where I was yesterday before I accidentally removed all those faces.


It would of course be easier if Adobe coded this for us!


Bob Frost