• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

Facial recognition now detecting everything

Community Beginner ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

Ive got a catalogue of about 30,000 mixed media files all indexed and tagged with facial recognition. Ive been trying to clear up all my unmamed people and discovered that Lightroom has taken it upon itself to also identify about 90% of the surface of about 4000 pictures that all have previously identified faces, for example in a mountain scene I would have the people in the forground identified and then it tries encapsulates everything by trying to recognise the whole mountain range!!.

So the database is stuffed because its now peppered with these erroneous recognition areas and Ive got a horrible feeling that I'm going to have to identify and delete every one of the faulty zones.

 

I've tried using Adobe support, but honestly, its embarasing in the extreme and its wasted 3 hours of my life achieving nothing and being none the wiser as they work through their TS script for the Adobe Illiteratae

 

Dont know when the corruption krept in so going back through old backups would be possible but very time consuming and is the "Hail Mary" option so grateful for any assistance and also if anyone has encountered this , how to prevent it in the future as Adobe have not the slightest interest

 

I've attached an example of the incorect facial zoning

TOPICS
macOS

Views

863

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

The facial recognition in Classic has been quite neglected for years. It's very slow and buggy. I think they gave up on fixing it because Lightroom Cloudy does AI face recgnition in the cloud now which works much better but is quite unlikely (i.e. hell freezes over) to ever be ported to Classic. That said, if you have lots of unknown faces with question marks, just ignore them. As long as you don't actually acknowledge them, they won't show up in the faces it knows about. I have 100's of these. Most I have no clue how it could ever think there was a face there.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

Jao .... I could switch but I've never really though about the cloud version is it a hybrid i.e all storage local and processing shared between local hosts and cloud?  and what happens when no connection ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

I wasn't suggesting you switch! Just that Adobe seems to not be intersted in fixing this in Classic so it is probably we'll have to live with in Classic. Cloudy is based on the idea that all images are in the cloud. It uploads all your images and dynamically downloads copies of images when needed. Processing is done on your local machine but things like AI based object and face recognition are done on the cloud. All this means indeed that if you don't have connectivity things break a bit. Cloudy is much less full featured than Classic in other ways (it can't print and many more things are missing) so I generally do not recommend it except if it is very clear you don't need any of the missing features or the cloud synchronization of devices is so attractive that it doesn't matter to you that those are missing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

just created a new catalogue rescanned all images for faces and look what facial recognition thinks is a face

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

Something is seriously wrong with your LR installation and/or catalog. While LR Classic's face recognition has stagnated in recent years, its identification of face rectangles is generally good and never as bad as your example. I imported your screenshot into my LR, and it doesn't identify that flower as a face.

 

As a next step, select several of these bad photos and do Library > Find Faces Again, leaving both options unchecked. Do you get the same bad face rectangles?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 27, 2023 Sep 27, 2023

Copy link to clipboard

Copied

Hi John ........ OK, so I ran your test on several different types of photos (including some Water Buffalos! ).  The old recognition data was cleared out and replaced with new.  The new data only contained faces of people (Phew , no water Buffaloes! ) so the FR looks like its now correctly identifying faces again.  After seven hours with support I managed to actually speak to someone who begrudginly agreed to escalate the problem.  They have all of the requested debug info so I'm waiting on them to come back to me, but to be honest I'm not holding my breath.  I guess Im going to put some time into figuring out how to purge all of the erronous entries from the database do you have any info on database structures, structured queies and any dbase sanatising tools for LR?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 27, 2023 Sep 27, 2023

Copy link to clipboard

Copied

Based on years of observing the LR team, I would be surprised if you got anything useful from support in the end. They're more miss than hit.

 

You could use the Any Filter plugin to find all very large face rectangles. E.g to find all face rectangles that are least 50% of the total photo area:

johnrellis_0-1695838825067.png

 

The most expedient solution might be to take an hour or two and delete those bogus rectangles. 

 

Another approach would be to go to People view, select some or all the thumbnails that appear under Unnamed, and type Delete, which deletes the face rectangles.  You'll be able to see thumbnails of the rectangles, letting you quickly decide if you want to keep some of them..

 

The catalog database isn't documented. It uses Sqlite (the widely used, very robust open-source database library), and there are numerous open-source tools for examining Sqlite databases: sqlite3 (the command-line utility), DB Browser for Sqlite, and many others.   People experienced with relational databases are typically able to figure out the structure of the catalog for what they want to do in an hour or two.

 

But whichever method(s) you try, be sure to backup your catalog first (and make sure the backup actually works)!

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 16, 2023 Nov 16, 2023

Copy link to clipboard

Copied

Hi John.

 

Firstly thanks for your search plugin its a handy little tool to have along with DB Browser. 

 

I was able to identify and remove about 10k of the erroneous FR areas, but only in those images that had a single FR area.  I think I can see a pattern of about 8k images in the SQL  tables but haven’t got the knowledge of the data structures and relationships to be sure of what I'm seeing so I'm loathed to try and remove them and  cause further issues

 

My experience with Adobe support in India was like being involved in a slow motion car crash.  They really havn't  even a basic concept of how to provide support and its ridiculous that I, as computing professional, but also a complete luddite when it comes to  experience with Lightroom can predict that there unconvincing and fumbling attempts  at resolution is basically limited to reinstalling Lightroom and hoping for the best.  A bit like being expected to have confidence in the person that tells you to trust them when they say all computer issues will be fixed with a reboot.  You were being very forgiving and kind in your description of support, I would use adjectives such as CHAOTIC, LAZY, UNQUALIFIED, PATHETIC and INADEQUATE and then leave it up to the individual to conjoin them in any combination they choose.

 

With these existing catalogues I think my LR instance is useless as it is still struggling with FR accuracy for known faces.  I’m assuming that this inaccuracy is because it uses a single corrupted FR database across all catalogues for the identification and then offloads the metadata to the catalogues for storage but I can’t be sure.  Do you have any info on the FR mechanisms at all?

 

Interestingly Adobe raised a code bug report (LRD-4214367) so its a software issue that I guess has now been the subject of multiple calls, but they they have absolutely no interest whatsoever in remediation for corrupt catalogues or even making anyone aware of the potential problems.  Now THATS WHAT YOU CALL QUALITY CUSTOMER SERVICE …….    

 

This seems like replay me of how the once pre eminent Rackspace went down the crapper when everything was outsourced the the lowest bidder in India about 4 years back.  I left them then and have never regretted it for a millisecond since.  Are you aware of a reasonable alternative for LR on the MAC platform.  I’m not that demanding, I  mainly use it for cataloguing and curating? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 16, 2023 Nov 16, 2023

Copy link to clipboard

Copied

LATEST

"I’m assuming that this inaccuracy is because it uses a single corrupted FR database across all catalogues for the identification and then offloads the metadata to the catalogues for storage but I can’t be sure.  Do you have any info on the FR mechanisms at all?"

 

I've always assumed that the face-recognition data was specific to each catalog.  I've got two largish catalogs with many dozens of people identified in each, and I've never observed any carryover from one catalog to the other.  I'm 85% confident about that, but I don't recall an authoritative statement in Adobe documentation and I haven't examined that part of the catalog internals.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines