iPhoto '09: Faces data

Discussion in 'Mac Apps and Mac App Store' started by netnothing, Jan 27, 2009.

  1. netnothing macrumors 68040

    netnothing

    Joined:
    Mar 13, 2007
    Location:
    NH
    #1
    Thought I'd start this thread for people to discover/add any info they have on what iPhoto Faces is doing behind the scenes to help with troubleshooting, since Apple doesn't have any preferences for Faces in the iPhoto GUI.

    This is only for people who like to understand what is happening behind the scenes. Please note this is not for everyone and anytime you do anything to your iPhoto library you risk corruption and should have a backup copy.

    What I've noticed so far:

    - iPhoto scans the library the first time it opens, and creates 2 faces .db files with the iPhoto Library:

    face_blob.db
    face.db

    - iPhoto creates Faces thumbnails files and places them in the iPhoto Library/Data folder along with the other thumbnails it creates.

    For example, I have:

    DSC_0202_face0.jpg
    DSC_0202_face1.jpg
    DSC_0202.jpg

    So the DSC_0202.jpg is the thumbnail image that iPhoto had already created, and the initial face scan added the other 2 images because it recognized 2 faces in that image.

    - I have tested that closing iPhoto and removing the 2 .db files will result in iPhoto re-scanning your entire library on the next start, losing all previous faces data. This might help people whose initial scan failed.

    On this new scan, iPhoto will overwrite any thumbnails it created previously.



    Feel free to add to this thread. I'm assuming that at some point real guru's will come up with those hidden preferences and terminal commands to adjust things.


    -Kevin
     
  2. Sky Blue Guest

    Sky Blue

    Joined:
    Jan 8, 2005
    #2
    Is there a way to show photos that have unassigned faces in them? I can't find anything.
     
  3. netnothing thread starter macrumors 68040

    netnothing

    Joined:
    Mar 13, 2007
    Location:
    NH
    #3
    I have removed the content from the other post.
    I have linked to this post.

    Just a note, the other post was helping an individual on their specific issue, which I was using this data that I found. Afterwards I thought that the information would be useful for others who MAY NOT find the other post OR who would find more information that is NOT relevant to the original post.

    -Kevin
     
  4. netnothing thread starter macrumors 68040

    netnothing

    Joined:
    Mar 13, 2007
    Location:
    NH
    #4
    I can't find anything in the interface. Smart albums are no help because they only check based on the fact that an image has Face data linked to it, not whether the face data exists or not.

    If you find something, let me know.

    -Kevin
     
  5. roger6106 macrumors regular

    Joined:
    Jun 19, 2007
    #5
    I don't have iLife '09 yet, but can't you do something like "if face is [empty]"?
     
  6. netnothing thread starter macrumors 68040

    netnothing

    Joined:
    Mar 13, 2007
    Location:
    NH
    #6
    Actually, I did just try a new smart album with:

    Name - does not contain - "leave field blank"

    This seems to work and give me a set of photos that don't have a name. In my case 19,225 :eek:

    When I find a photo, and add a name, the number goes down.

    The only issue with this is, it will also find images that don't contain a face...or any people.

    What Apple needs to add is the ability to show you all photos where iPhoto has recognized a face is in the photo, but has not been tagged yet.

    -Kevin
     
  7. shk718 macrumors 65816

    Joined:
    Jun 26, 2007
    #7
    does anyone know if there is a way to exclude an event from scanning. lets say you have a group of pictures that are "objectionable" and you don't want them to accidently show up - which happened to me - apparently i look like a porn star.
     
  8. netnothing thread starter macrumors 68040

    netnothing

    Joined:
    Mar 13, 2007
    Location:
    NH
    #8
    Porn star huh......well, I won't go there. :D

    As for the exclude function, I sure can't find a way....maybe someone will find a hidden preference at some point. In typical Apple fashion their preferences are a little on the slim side. They don't even give you the ability to turn faces off completely if you didn't want to use it.

    -Kevin
     
  9. currie macrumors newbie

    Joined:
    Jan 28, 2009
    #9
    Can faces be copied into another iPhoto library?

    Is it possible to copy the face.db file from one iPhoto library to another and thereby "sync" the reference photos?
     
  10. currie macrumors newbie

    Joined:
    Jan 28, 2009
    #10
    Copying Faces directory

    So I tried to copy the faces.db file from one library to another and predictably it copied some of the name but had no photo to match up with.

    Being able to search for the same faces in multiple libraries is important
     
  11. netnothing thread starter macrumors 68040

    netnothing

    Joined:
    Mar 13, 2007
    Location:
    NH
    #11
    Interesting. The only thing I've done is copy the entire iPhoto library from one machine to another.....which as expected, worked fine.

    When Faces first runs it creates the thumbnail faces images. I'm guessing that because the same images aren't in both libraries, then it can't match them.

    -Kevin
     
  12. currie macrumors newbie

    Joined:
    Jan 28, 2009
    #12
    Perhaps the only way is to copy the key photos from one library to the other and then create names for the faces in the second library. Ideally there would be a way to copy the derived facial recognition characteristics from one library to another. That way it would make the same conclusions and would not have to start from scratch building up characteristics.
     
  13. atharumar macrumors newbie

    Joined:
    Feb 9, 2009
    #13
    i had like some 5 thousand pictures with 5 to 7 people in most of those pictures ... after iphoto did the face recognition ... it ended up in some 35,000 jpeg file recognizing each and every face in every picture ... why doesnt face feature create a different type of file and keep it in separate folder ... which wouldnt show as jpeg file increasing my count of my pictures .... finally i reinstalled whole mac again removing all pictures ... as i had backed up all my picutres before installing iphoto 09 ...
     
  14. imacdaddy macrumors 6502a

    Joined:
    Feb 2, 2006
    #14
    Unecessary used space from iPhoto

    I like the new faces feature but is it worth taking up so much space on my HD?

    My iPhoto Library/Data folder is over +8GB containing 35 to 45KB jpegs of each of my original/modified photos and each of all faces and non-faces detected (incl road signs, animals, pets, garbage bins, trees cars etc). That and +60GB of Original photos in iPhoto Library/Originals and 30GB Modified iPhoto Library/Modified is almost 100GB of iPhoto photos.

    I really do think iPhoto does a poor job managing files/space efficiency/methodology for the "faces" feature. I agree with the above post...it shouldn't be creating new jpeg files.

    I already have 2 copies of my original photos (manual copy to ext HD) and iPhoto (importing original photos). I think I'm just going to import keepers and modified photos into iPhoto...but that's gonna take a lot of work. :(
     

Share This Page