1 2 Previous Next 48 Replies Latest reply on Aug 22, 2016 3:40 AM by AE-FTW

    How to reindex facial recognition data in LR 6?

    dimkasmir

      I accidentally deleted all of the faces that Lightroom recognized in my photos upon the initial indexing. Is there anyway to reset the facial recognition index so that I can go through the process again?

        • 1. Re: How to reindex facial recognition data in LR 6?
          mattl5631332

          I have the same issue - but I'm not sure it was user error. I just lost a lot of photos that I had indexed to a particular person from their person keyword.

           

          I'll let you know if I find a solution. Nothing is jumping out right now!

           

          Did you delete the keyword?

          • 2. Re: How to reindex facial recognition data in LR 6?
            ianbutty Level 1

            As far as I am aware at present face recoginition is a one shot.  If you delete the face recognition box, the only way to get it back is to manually draw it on each and every image! (Not good).

             

            I am sure Adobe will have to add this in the future.  Especially if/when they improve the recognition algorithm.  I am finding that the scan is missing a significant number of faces in images.  It finds about 60-70% of faces that exist in images, but some of that 30-40% are ones that are really clear and yet it misses them.

             

            At the moment - don't delete any face rectangles unless you KNOW you don't want them.  (I know that doesn't help right now).  The only other option is to go back to your LR5 and recovert it to LR6/LRCC and let it find the faces again.

            • 3. Re: How to reindex facial recognition data in LR 6?
              mattl5631332 Level 1

              That's going to present a major hiccup for owners of large libraries.

               

              Moving through and tagging lots of images means a lot of multiple selection/rejection on faces and it is quite easy to mess this up. Adobe needs to add a reindex feature.

               

              Thanks for your input!

              • 4. Re: How to reindex facial recognition data in LR 6?
                Bob Somrak Level 5

                This definitely needs to be addressed to make the face-recognition useable.  You should be able to select several photos or a folder and have it rerun the face recognition.

                • 5. Re: How to reindex facial recognition data in LR 6?
                  thedigitaldog MVP & Adobe Community Professional

                  ianbutty wrote:

                   

                  As far as I am aware at present face recoginition is a one shot.  If you delete the face recognition box, the only way to get it back is to manually draw it on each and every image! (Not good).

                  It's not good but worse is it appears that you can't rescan to add more faces after the initial work. I hope that's not true and there is a workaround.

                   

                  So the product is designed such that I have 30K worth of images. I scan them all. I only pick 10 of 20 possible people so I build keywords for those 10, all good and fine. Now I decide I want to go back and add the other 10 people. There's no way to rescan and have the grid exclude the first group of people and allow me to add the other 10? That's awful. Really bad design. If this is true, I'm bummed.

                  • 6. Re: How to reindex facial recognition data in LR 6?
                    ianbutty Level 1

                    Adobe do have a habit of releasing products minus critical features and then adding them later.  I am sure this will be one of those that they will resolve in time.  The problem of course is that this could be classed as a new feature.  The rumour in the broadcasts from the likes of Kelby, Kloskowski etc is that LR6 (non subscription) will only get bug fix releases not new features.  While LRCC will get the new features.  I hope that's not the case but if it is, then it is a pretty strong argument for paying for the monthly subscription.

                    • 7. Re: How to reindex facial recognition data in LR 6?
                      Victoria Bampton LR Queen Adobe Community Professional & MVP

                      Andrew Rodney wrote:

                       

                      So the product is designed such that I have 30K worth of images. I scan them all. I only pick 10 of 20 possible people so I build keywords for those 10, all good and fine. Now I decide I want to go back and add the other 10 people. There's no way to rescan and have the grid exclude the first group of people and allow me to add the other 10? That's awful. Really bad design. If this is true, I'm bummed.

                       

                      I'm not sure I follow your workflow. If you only name 10 of the 20 possible people, the other 10 will still be sat in the Unnamed section waiting for you to name them, so you'd have no need to rescan.

                      • 8. Re: How to reindex facial recognition data in LR 6?
                        Bob Somrak Level 5

                        Hi Victoria,

                         

                        I think he means he wants to go back a week later for example and do the rescan and not at the initial scan phase.  I agree there needs to be a rescan option for selected photos to make the tool useable. As it is now it is in the same "sort of usable tool" boat as the slideshow, book, web.

                        • 9. Re: How to reindex facial recognition data in LR 6?
                          Victoria Bampton LR Queen Adobe Community Professional & MVP

                          I agree there needs to be a rescan option in case you accidentally delete a load of face regions, but that's the only case that should require a rescan.  When he goes back a week later, the extra 10 people should still be waiting there in the Unnamed Section unless you've deleted them (er, so don't do that)

                          • 10. Re: How to reindex facial recognition data in LR 6?
                            thedigitaldog MVP & Adobe Community Professional

                            Bob Somrak wrote:

                            I think he means he wants to go back a week later for example and do the rescan and not at the initial scan phase.  I agree there needs to be a rescan option for selected photos to make the tool useable. As it is now it is in the same "sort of usable tool" boat as the slideshow, book, web.

                            Yes exactly, sorry if I wasn't clear.

                            I have a folder of 10 images. All have people in them. Five are pictures of Joe, the other five are different people. I decide to tag all five of Joe's images and select the other five and either use Delete Key or the no symbol. I don't want to be bothered tagging those five people. A week later I decide I want to tag all five, or just three of the five. I can't? I want LR to reindex that folder and show me ONLY the five that I didn't tag. Heck, if it shows me all 10, five tagged with Joe and five that need to be tagged, that would be better than what we presumably have now. I'm stumped and just can't figure out how to force that folder to reindex the faces for tagging.

                             

                            So Victoria, did Adobe really release this product with no way to go back and reindex a folder previously set for FR? If so, I'm going to be sad and highly disappointed that they got this so wrong on the 2nd attempt.

                            • 11. Re: How to reindex facial recognition data in LR 6?
                              ianbutty Level 1

                              Victoria_Bampton wrote:

                               

                              I agree there needs to be a rescan option in case you accidentally delete a load of face regions, but that's the only case that should require a rescan.  When he goes back a week later, the extra 10 people should still be waiting there in the Unnamed Section unless you've deleted them (er, so don't do that)

                              I think there is another scenario connected with this.  The algorithm for determining what is and isn't a face is a bit flaky at the moment.  I in my case it is missing 30-40% of all faces and well over 50% of profile shots get missed (very common for people to be in profile when doing theatre photography).  Not only do we need a 'please rescan these images' option, but we need some sort of threshold so we can tell the algorithm to be a bit more aggressive in what it thinks is a face and what it doesn't.  (Yes that will mean more random patterns being incorrectly picked up as faces, but it is easier to delete those than it is to go through all the images and draw rectangles where the algorithm missed people).

                              • 12. Re: How to reindex facial recognition data in LR 6?
                                Bob Somrak Level 5

                                I didn't realize the Unnamed Section did not disappear if you didn't clear it.   Thanks for the info.  I have just been using a test catalog for learning and always completed the scan

                                • 13. Re: How to reindex facial recognition data in LR 6?
                                  thedigitaldog MVP & Adobe Community Professional

                                  ianbutty wrote:

                                  Not only do we need a 'please rescan these images' option, but we need some sort of threshold so we can tell the algorithm to be a bit more aggressive in what it thinks is a face and what it doesn't. 

                                  I agree. Plus it finds faces that are totally out of focus due to DOF, image that are really dark and may have no faces etc. We need a better 'quality' granularity. IOW, if it tags something that clearly looks like a stop sign (I've seen this), OK I can see how the algorithm would think it's a face. If it tags something that looks like a blob of out of focus image or so dark it doesn't look anything like a face or the side of a building, don't tag it.

                                  • 14. Re: How to reindex facial recognition data in LR 6?
                                    Bob Somrak Level 5

                                    Also, it seems to do a really bad job of finding people with totally white or really light gray hair.

                                    • 15. Re: How to reindex facial recognition data in LR 6?
                                      Victoria Bampton LR Queen Adobe Community Professional & MVP

                                      Andrew Rodney wrote:

                                      So Victoria, did Adobe really release this product with no way to go back and reindex a folder previously set for FR? If so, I'm going to be sad and highly disappointed that they got this so wrong on the 2nd attempt.

                                       

                                      Yes, they did, but the really simple solution is not to delete the faces you don't want to name yet.  Or tag them all with "Unknown Person".

                                       

                                      Even if they added a reindex command, it would skip the photos you've already added names to, on the basis that it wouldn't want to undo any of the work you'd already done in adding or deleting faces.

                                      • 16. Re: How to reindex facial recognition data in LR 6?
                                        thedigitaldog MVP & Adobe Community Professional

                                        Victoria_Bampton wrote:

                                        Yes, they did, but the really simple solution is not to delete the faces you don't want to name yet.  Or tag them all with "Unknown Person".

                                        Sorry, that's an unacceptable Kludge. If I reference 30K images (which I did), I want to focus on the images to tag and remove those that I don't. Removing them from view should be possible to continue working without dumping all those images into a condition where I can no longer tag them. Let's hope Adobe fixes this ASAP. FR was one of the features I didn't think I'd care for, found it very useful and exciting the first day of use, now I'm mostly disappointed in the lost potential.

                                        • 17. Re: How to reindex facial recognition data in LR 6?
                                          Victoria Bampton LR Queen Adobe Community Professional & MVP

                                          I'm not going to argue with you Andrew, but I will make a suggestion... rephrase your FR as a way to "ignore faces" and post it on the FR site.  The reindexing request in your scenario will almost certainly be declined (except possibly in the case of photos that haven't already been touched), but moving faces to an ignored section has a better shot at being approved with enough support, IMHO.

                                          • 18. Re: How to reindex facial recognition data in LR 6?
                                            thedigitaldog MVP & Adobe Community Professional

                                            Victoria_Bampton wrote:

                                            rephrase your FR as a way to "ignore faces" and post it on the FR site.  The reindexing request in your scenario will almost certainly be declined (except possibly in the case of photos that haven't already been touched), but moving faces to an ignored section has a better shot at being approved with enough support, IMHO.

                                            I'm not clear on what you're suggesting. What is the FR site?

                                            • 20. Re: How to reindex facial recognition data in LR 6?
                                              thedigitaldog MVP & Adobe Community Professional

                                              Victoria_Bampton wrote:

                                               

                                              The Official Feature Request/Bug Report Forum at http://feedback.photoshop.com/photoshop_family

                                              Oh, got you. Thanks. I think I know how far that will get me

                                              But thanks for officially answering the question many have had here about the ability or lack thereof to re-indext images that don't have FR. I could do this all over again but I got 95% of the work done and I'll just leave the other's not tagged as is. Hopefully in the future there will be a way to revisit them in mass.

                                              • 21. Re: How to reindex facial recognition data in LR 6?
                                                Bob Somrak Level 5

                                                Victoria_Bampton wrote:

                                                 

                                                I'm not going to argue with you Andrew, but I will make a suggestion... rephrase your FR as a way to "ignore faces" and post it on the FR site.  The reindexing request in your scenario will almost certainly be declined (except possibly in the case of photos that haven't already been touched), but moving faces to an ignored section has a better shot at being approved with enough support, IMHO.

                                                At the very least you should be able to select a group of photos and "un-index" and/of "un-FR" them so Lightroom would think they were never indexed.  Otherwise FR will just have to go into the bin of tools in Lr which were ALMOST GOOD such as BOOK etc.

                                                • 22. Re: How to reindex facial recognition data in LR 6?
                                                  garethjjones Level 1

                                                  I'm playing with this too - and it seems quite buggy - in that I can confirm a name, the thumbnail agoes up to named people, and a little bit later that thumbnail disappears - and I can continue to accept a suggestion (i.e. click the tick) - and the thumbnail in named people disappears, but it doesn't appear in named people!

                                                   

                                                  Also, if you tag people as Unknown, they become a 'named people'. If later, you want to re-classify them, you can delete their name tag, and they revery to being an 'Unamed people' - so you can go back and reclassify. If you're doing this on a collection by collection basis, or on other keywords, then you do get a manageable amount of faces to tag with correct names. I've got 76k worth of gymnastics images in one catalog - I'm not going to do FR on them all!

                                                  • 23. Re: How to reindex facial recognition data in LR 6?
                                                    Bob Somrak Level 5

                                                    Victoria

                                                     

                                                    I am going to withhold further judgement on the FR tool until I get a little more practice with it and learn the ins and out of how it works as I am liking it better.  I will have to get your Lightroom 6 FAQ book when it comes out (when is it expected) as I am sure you will have all kinds of hints to get the most out of it.  Thanks again for all you GREAT help in the past

                                                    • 24. Re: How to reindex facial recognition data in LR 6?
                                                      garethjjones Level 1

                                                      Definatly need re-indexing. I just tried to index a subdirectory, and it wasn't online (I presume lightroom tried to index the previews?). No people found. Plugged the external in, and indexed another directory from the same competition - found people. Switch back to the first directory and still no people found, and no way to make lightroom look again (that I found so far)

                                                      • 25. Re: How to reindex facial recognition data in LR 6?
                                                        Victoria Bampton LR Queen Adobe Community Professional & MVP

                                                        Robert Somrak wrote:

                                                         

                                                        your Lightroom 6 FAQ book when it comes out (when is it expected)

                                                         

                                                        Couple of weeks Bob!

                                                        • 26. Re: How to reindex facial recognition data in LR 6?
                                                          bob frost Level 3

                                                          It has just suggested that a lovely little lemur is my granddaughter!!

                                                           

                                                          Bob Frost

                                                          • 27. Re: How to reindex facial recognition data in LR 6?
                                                            Ian Lyons MVP & Adobe Community Professional

                                                            Bob,

                                                             

                                                            It could be worse. It could have identified your granddaughter as aLemur ;-)

                                                             

                                                            For fun, select the lemur face, then right click for the context menu. Now choose Find Similar Faces. I suspect you'll get a really interesting mix of...

                                                            • 28. Re: How to reindex facial recognition data in LR 6?
                                                              Victoria Bampton LR Queen Adobe Community Professional & MVP

                                                              Robert Frost wrote:

                                                              It has just suggested that a lovely little lemur is my granddaughter!!

                                                               

                                                              It thinks I'm Winnie the Pooh. Hey, at least face recognition is funny!

                                                              • 29. Re: How to reindex facial recognition data in LR 6?
                                                                thedigitaldog MVP & Adobe Community Professional

                                                                Ian Lyons wrote:

                                                                It could be worse. It could have identified your granddaughter as aLemur ;-)

                                                                Or a waterless urinal:

                                                                FD.jpg

                                                                • 30. Re: How to reindex facial recognition data in LR 6?
                                                                  bob frost Level 3

                                                                  My wife just watched me go through a few thousand images of a trip to India, and at first she thought it was funny seeing her name suggested for male and female Indians as well as a range of inanimate objects. But the funniness soon wore off, and her final comment was "it is ridiculous"!

                                                                   

                                                                  The LR team have been at this for at least four years, and at the time it was mooted I said I thought there were better things to spend their time on. At present this is simply not worth using. I do hope the face recognition algorithms used by the FBI etc are better than this!

                                                                   

                                                                  Bob Frost

                                                                  • 31. Re: How to reindex facial recognition data in LR 6?
                                                                    mattl5631332 Level 1

                                                                    Apart from the interesting software FR algorithm issues, the major fail, Adobe, is not warning users of the impact of a destructive function in deleting "unnamed" people.

                                                                     

                                                                    Selecting a number of unknown/unnamed faces in people view, hit "delete/reject" and there is no warning of a permanent, mass change to meta-data associated with the images or even a confirm dialog. How did this make it past user experience? Very out of character in LR?

                                                                     

                                                                    Victoria, not sure why Adobe would not want to allow a user to re-index content with variable granularity?

                                                                    • 32. Re: How to reindex facial recognition data in LR 6?
                                                                      thedigitaldog MVP & Adobe Community Professional

                                                                      mattl5631332 wrote:

                                                                      Victoria, not sure why Adobe would not want to allow a user to re-index content with variable granularity?

                                                                      I could be wrong, but I suspect it's less about what they don't want and more with what they can't do. At least today.

                                                                      • 33. Re: How to reindex facial recognition data in LR 6?
                                                                        Victoria Bampton LR Queen Adobe Community Professional & MVP

                                                                        Matt Langford wrote:

                                                                        Victoria, not sure why Adobe would not want to allow a user to re-index content with variable granularity?

                                                                         

                                                                        That's a question I can't answer, sorry.

                                                                        • 34. Re: How to reindex facial recognition data in LR 6?
                                                                          Wolf Eilers Level 4

                                                                          Victoria_Bampton wrote:

                                                                           

                                                                          The Official Feature Request/Bug Report Forum at http://feedback.photoshop.com/photoshop_family

                                                                           

                                                                          Has there been an official feature request posted to allow re-indexing. I can't find one.

                                                                          • 35. Re: How to reindex facial recognition data in LR 6?
                                                                            Victoria Bampton LR Queen Adobe Community Professional & MVP

                                                                            Wolf Eilers wrote:

                                                                            The Official Feature Request/Bug Report Forum at http://feedback.photoshop.com/photoshop_family

                                                                             

                                                                            Has there been an official feature request posted to allow re-indexing. I can't find one.

                                                                             

                                                                            I don't remember seeing one.

                                                                            • 36. Re: How to reindex facial recognition data in LR 6?
                                                                              Wolf Eilers Level 4

                                                                              I have added this request: Lightroom 6/CC - Allow facial recognition feature to re-index a folder/collection. Please up-vote or add additional comments or suggestions.

                                                                              • 37. Re: How to reindex facial recognition data in LR 6?
                                                                                AlexeyE30

                                                                                Hi friends!

                                                                                Sorry for any mistakes in English, I used Google Translate.

                                                                                 

                                                                                For a start, I recommend to make a copy of your catalog.

                                                                                 

                                                                                I solved this problem as follows:

                                                                                1) File "lrcat" is a database, similar in structure to mdb databases (MS Access), but they are not compatible. In order to view its contents, we will need a small free program - "DB Browser for SQLite" - you can download it on the site http://sqlitebrowser.org/

                                                                                I used version 3.5.1, the latest version 3.6.0 gives me an error at startup.

                                                                                2) I ran "DB Browser" and after examining its internal structure, decided that the table "Adobe_LibraryImageFaceProcessHistory" contains information about the process of face recognition.

                                                                                To select it, you need to find it in the drop-down list in the "Browse Data". I think that the field "lastTryStatus" just says LR, whether it is necessary to look for the person or not.

                                                                                Unfortunately, the program "DB Browser" can not change the data in many cells at once, so I had to delete all the contents of the table. (It's pretty simple - highlight the line as well as in Excel - while holding down the Shift key and press the button after selecting in the upper-right-hand side - "Delete Record"). In the case of a very large table, I singled out by 5000 lines, otherwise the program was conceived a long time.

                                                                                3) Exit the program and agree to save the changes (we made a backup, did not you?)

                                                                                4) Run the LR, and it re-starts the process of face recognition! 

                                                                                (If you do not delete the entire table, it will scan only what you deleted)

                                                                                 

                                                                                Obviously, this database contains all the information for all the images, but I have not found a simple way how to selectively delete the information about images, for example from one directory.

                                                                                Analyzing tables inside the database, you can see what fields are responsible for that, find a table with directories, select their codes to find files that belong to these directories, find the codes for these files, find these codes in the table with the results of the scan persons ... but this program is not designed for such deep analysis.

                                                                                 

                                                                                If you can translate the Lrcat base in mdb format, and then back, it would have been possible. The program "DB Browser" allows you to export and import tables to CSV format. The same format understands and MS Access, but it is too complicated path for me).

                                                                                 

                                                                                I hope what helped you)

                                                                                • 38. Re: How to reindex facial recognition data in LR 6?
                                                                                  Bob Somrak Level 5

                                                                                  Good Info, thanks.  In that case than it shouldn't be to hard for Adobe to implement a reindex or unindex of a group of selected photos.  Getting them to do it is another matter.  Seems like a feature many people would like including me.  If Adobe won't do it then maybe one of the great plugin authors will implement it.

                                                                                  • 39. Re: How to reindex facial recognition data in LR 6?
                                                                                    bob frost Level 3

                                                                                    Yes, I was looking at that table with DB browser yesterday, and thinking of deleting the contents to see what would happen. Thanks for beating me to it! I'm not sure how this table links to all the other tables on face recognition?

                                                                                     

                                                                                    Bob Frost

                                                                                    1 2 Previous Next