Previous 1 2 3 4 Next 49 Replies Latest reply: Sep 19, 2013 9:47 PM by Supra_User
Dan Connors Level 1 Level 1

Having trouble with iPhoto. The Faces part was working properly, but not having these symptoms:

1. When I select Faces, the people shown are not the one showing in the thumbnail in some cases. Opening the picture shows the individual is in the photo, the info tab shows the person is in the photo, but the photo does not show the person.

2. When I select Faces, sometimes the face shown is not the correct face.

It used to be perfect, but now it is not.

 

I've used all the options within iPhoto under Option & Command start, and have rebuilt it using iPhoto Library Manager.


MacBook Air, OS X Mountain Lion (10.8.3)
Solved by Tom Ritch on Jun 15, 2013 7:52 PM Solved

Dan,

 

I had and still have the same problem.  Here is what partially soved it for me.

 

1.  Go through all your photos for one person.  Flag any that have a problem. 

 

2.  Open Flagged album. 

 

3.  For each photo delete all found faces. 

 

4,  Select all Flagged photos, then Photos > Detect Missing Photos. 

 

5.  Open each photo and assign the correct name to the found Faces.

 

When the original found faces become corrupt no rebuilting by iPhoto or iPhoto Library Manager will fix the problem.  Deleting the corrupt found face boxes, then redetectiing the faces creates uncorrupted data structures.

 

A major problem is that the data corruptions appears to be associated with the photo and not restricted to the found faces which have obvious issues.  If you delete only the incorrect found face boxes but leave those which seem correct, I have observed that applying Detect Missing Photos may result in the originally correct found faces being changed to have something wrong. 

 

Another problem is that if you delete a correct found face box and then applying Detect Missing Photos finds exactly the same box, iPhoto remembers you have deleted it and does not replace it.  In my hands this has happened in about a quarter of the photos.  At least some of my photos have been repaired.

 

An observation that may confirm we are seeing similar coruption is the shape of the incorrectly placed found face box.  In many cases I have seen a vertical rectangle which is offset from the found face.  For different corrupt found faces this rectangle may be in differnt places in the photo, or of a different size, but the height to width proportions seem similar.  Do you see found face boxes like this? 

Reply by Tom Ritch on Jun 26, 2013 5:26 PM Helpful

It's good that Brian has looked at this and con provide a view from inside the database. 

 

I have reviewed my found faces.  Most of the corruption I have manually removed, but I found a few instances that I seem to have missed. 

 

The most recent that I found just now was in a photo taken May 12, and thus fairly recently imported into iPhoto.  A face is in the photo, and the Info pane lists a found face with the correct name.  The corruptipon in this case is that there is no found face rectangle in the photo. 

 

Just found another n a photo taken July 13, 2012.  In this case the found face rectangle is replaced with a large vertical rectangle moved down and to the left of the correct position. 

 

And now another, rectangle moved up and to the left.  In this photo another found face seems OK.

 

And found another.  Seems a lot more inspection and manyal editing is needed. 

 

I had others, about 5%of the found faces, that had various forms of corruptipon but I have manually corrected them. 

 

Tha manual deletion of corrupted found faces seems to work, but as I noted above if only the found face directly associated with the corruption is deleted and then Detect Missing Faces is run, very frequently the other fond faces show corruptipn afterwards.  If these correclty found seemingly uncorrupted faces are deleted, they will not be displayed again even if they are found.  If they become corrupted in the Detect Missing Faces process, they can be deleted and Detect Missing Faces run again.  Sometimes they wil be found, sometimes not.  Sometims after Detect Missing Faces is run the newly found faces will appear with the correct names already assigned. 

 

My guess is that in iPhoto the found face methods either write data in the database incorrectly, or retrieve found face data incorreclty, or both, a small percent of the time. 

 

This is a bug we should report to Apple.

All replies

  • Dan Connors Level 1 Level 1

    Sorry, typo above. I AM having the symptoms shown.

  • Dan Connors Level 1 Level 1

    I just shut down iPhoto, then the computer. Then I restarted both. The photos came up, but there are no faces shown (Tab Info, Faces). There is a pinwheel sorta thing next to Faces on the left-hand panel. One cannot select Add a Face from the Faces function. The pinwheel lasts at least 10 minutes. When it goes away, the symptoms above recur.

  • LarryHN Level 10 Level 10
    expertise.photosformac
    Photos for Mac

    As a test depress teh option key and launch iPhoto - create a new library - iomport a few photos into it and see if the issue is repeated in the test library

     

    LN

  • Dan Connors Level 1 Level 1

    Larry, I'd used ILM to rebuild the library and that library is the one that was really skrewy. I went back to the original and it has far fewer issues. The issue is still around faces, but the ILM rebuild apparently made it worse. So, going back to the original library, the issue is this:

    - On some photos, some or all of the faces shown in the right-hand column (Info - Faces) do not show up on the photo. These two approaches seem to fix it:

    - If there is any name showing in the photo, it is usually one. Delete it. All of the names will disappear in the Info - Faces panel. Then add them all back in.

    - If there is not a name showing, add faces for each name showing in Info-Faces. In this case no new name is shown in Info Faces.

    This leads me to the thought that I have a "slightly" screwed up faces database.  Very uncomfortable with that.

  • LarryHN Level 10 Level 10
    expertise.photosformac
    Photos for Mac

    Hence the suggested test - what are the results?

     

    As a test depress the option key and launch iPhoto - create a new library - import a few photos into it and see if the issue is repeated in the test library

     

    LN

  • Dan Connors Level 1 Level 1

    Results are the import appeared to work properly. There were no extra unidentified people and the same number of face frames showed up in the photo as appeared in Info - Faces.

  • LarryHN Level 10 Level 10
    expertise.photosformac
    Photos for Mac

    Have you purchased IPLM or are you using the demo? If you own it try deleting the photos you imported into the test library and merging yuor existing library into the new (working) library

     

    LN

  • Dan Connors Level 1 Level 1

    I own IPLM. I merged the most troublesome part into the working library and the errors moved as well.

  • LarryHN Level 10 Level 10
    expertise.photosformac
    Photos for Mac

    I'm at a loss too - weird issue

     

    LN

  • Tom Ritch Level 2 Level 2
    expertise.photosformac
    Photos for Mac

    Dan,

     

    I had and still have the same problem.  Here is what partially soved it for me.

     

    1.  Go through all your photos for one person.  Flag any that have a problem. 

     

    2.  Open Flagged album. 

     

    3.  For each photo delete all found faces. 

     

    4,  Select all Flagged photos, then Photos > Detect Missing Photos. 

     

    5.  Open each photo and assign the correct name to the found Faces.

     

    When the original found faces become corrupt no rebuilting by iPhoto or iPhoto Library Manager will fix the problem.  Deleting the corrupt found face boxes, then redetectiing the faces creates uncorrupted data structures.

     

    A major problem is that the data corruptions appears to be associated with the photo and not restricted to the found faces which have obvious issues.  If you delete only the incorrect found face boxes but leave those which seem correct, I have observed that applying Detect Missing Photos may result in the originally correct found faces being changed to have something wrong. 

     

    Another problem is that if you delete a correct found face box and then applying Detect Missing Photos finds exactly the same box, iPhoto remembers you have deleted it and does not replace it.  In my hands this has happened in about a quarter of the photos.  At least some of my photos have been repaired.

     

    An observation that may confirm we are seeing similar coruption is the shape of the incorrectly placed found face box.  In many cases I have seen a vertical rectangle which is offset from the found face.  For different corrupt found faces this rectangle may be in differnt places in the photo, or of a different size, but the height to width proportions seem similar.  Do you see found face boxes like this? 

  • Dan Connors Level 1 Level 1

    Tom,

      Thank you. I was not previously aware of the command Detect Missing Photos--I will try out your advice the next time I find a corrupt photo. I have not seen a vertical rectangle like you mention above. What I typically see is a very small square box, often in the lower center of the photo, often with several stacked on top of each other. Yesterday I tripped over a photo which had everyone correctly identified (I had done that earlier) however each face was replicated by a small box slightly below the original box, each with the appropriate name filled in I also had the experience of looking in faces for a specific photo and not finding it. I went to photos and validated that the face was properly tagged, then went back to Faces and it was there (actually, looked like 20-30 photos had disappeared and reappeared.

     

      My fear remains that this indicator of a corrupt database will never be fixed by repairing individual photos and one day the entire database will collapse. While I know I won't lose the photos, I have about 6,000 with date, place, and faces all tagged. Losing that would be catastrophic.

     

      I see in other threads that others directly manipulate the faces database using MySQL. Any thoughts on that?

  • Tom Ritch Level 2 Level 2
    expertise.photosformac
    Photos for Mac

    Dan,

     

    Glad to see my suggestion worked for you.  Over the last week I have been similarly trying to remove more corrupt data from my library of over 25,000 photos.  The corruption I see is as described earlier, plus the small square boxes you describe, plus more:

     

    tiny boxes with essentially no area at the lower left corner of the photo

     

    photos with no found face box yet the Info pane lists names of found faces

     

    large square boxes labled with a correct name but in the wrong locations in the photo

     

    found face boxes appear correct but the thumb is from some other part of the photo

     

    found face boxes appear correct but the thumb is rotated 90 degrees

     

    Probably there are others that I do not remember right now. 

     

    As might be expected with this level of incorrectly identified faces, prediction of matching faces has been poor.  As I have deleted obvious corruption from the database I have also verified correct predictions and marked incorrect predictions.  Predictions are now much better. 

     

    This corruption remained after merging three libraries using iPhoto Library Manager, then doing all of iPhotos internal rebuilds several times, then rebuilding the library using iPhoto LIbrary Manager.  When I finish removing what corruption I can manually I plan to rebuild everythng once again.  Even with all this cleaning I am concerned that I will miss some corrupt data, and the corruption will propagate. 

     

    I have not heard of using MySQL on Faces or iPhoto.  Directly manipulating internal iPhoito structures sounds like asking for trouble, but we already have lots of trouble with no apparent solution.  I will investigate.  Thanks for the tip.  Have you tried it? 

     

    Tom

  • Dan Connors Level 1 Level 1

    Tom,

      My last effort was to raise the issue to iPhoto Library Manager.  Brian Webster, from that org, has volunteered to look at the databases. Sent them to him today. Awaiting his results and will keep you posted.

  • Tom Ritch Level 2 Level 2
    expertise.photosformac
    Photos for Mac

    I also described this issue to Brian a few days ago.  He said if there was more demand he might look into it.  Good that you asked, and gave him your data to examine.  I will stop manually editing my faces and wait to see if an automated fix can be created. 

Previous 1 2 3 4 Next