Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Omne666

macrumors 6502a
Original poster
Sep 16, 2010
503
0
Melbourne, Australia
Hi all...
Not a programmer here but I'm delving into an idea that needs to access the iphoto database. I want to be able to access the 'faces' feature presenting a new interface structure. Is this possible?
 

Omne666

macrumors 6502a
Original poster
Sep 16, 2010
503
0
Melbourne, Australia
I'd actually like to do it even as a plugin for iphoto/aperture, but as it is presenting the data in a very different manner, I have no idea if that's even possible within iphoto/aperture.
 

Omne666

macrumors 6502a
Original poster
Sep 16, 2010
503
0
Melbourne, Australia
Sorry about being cryptic.

I use iphoto a lot, finding the faces, combined with events, feature particularly useful for organisation of large libraries which of course Apple also think is pretty good hence they exist. But as the user has already done the hard work of organising and identifying such, my concept is to build onto that with a new visual representation of such with getting the user to repeat the work already done.

So my question is can a plugin be written that merely accesses existing fields of iphoto/aperture, doesn't modify them, and would perhaps write its own small db in response to user input to visually represent the photos in a whole new manner?

And by the way, I won't be writing this. I'd engage a programmer to do so.
 

PatrickCocoa

macrumors 6502a
Dec 2, 2008
751
149
I Hear You

Sorry about my grumpy old man impersonation. I'm quite convincing at that.

Anyway, I think the answer to your question is yes.

I searched on my hard drive around and found ~/Pictures/iPhoto Library/Database/apdb/Faces.db. Based on nothing other than the name and location of that file, it may (repeat may) contain information about the faces in the photos in your iPhoto library. The photos in your iPhoto library are located at ~/Pictures/iPhoto Library/Masters/yyyy/mm/dd/weirdcodethatIhaventdecoded.

So my guess is iPhoto fires up, finds the photos at the above location, then loads the Faces.db to determine how to show photos when you're in the Faces tab.

So if your programmer can decipher the Faces.db file format, he'd get the same information iPhoto does for faces. Then he can program your app to do whatever it is you want.

On a side note I still don't understand what you want. If you're frustrated with me, you're going to be more frustrated working with your programmer because he'll pester you with questions. Or if he doesn't he'll deliver you an app that doesn't do what you want. So you'll need to spend several 8 hour days writing down and drawing what you want and discussing it with your programmer. Project definition is a long, grueling process and programmers are weird.

Good luck!
 

Omne666

macrumors 6502a
Original poster
Sep 16, 2010
503
0
Melbourne, Australia
Thanks for the response.

Lol...it's you who should be getting frustrated with me, as I know I'm being vague. With a programmer, I'd obviously have to fully explain my concept for them to have the chance of any implementation.

Again though, I'd love to try and make is a plugin that works within the confines of iPhoto/Aperture interface, adding perhaps an icon in the left bar under the faces/events/photos/locations. That would be the ideal solution for it.

Doing searches on web for plugins, most are concerned with exporting, adjusting or filtering the actual picture. My idea involves none of that, merely a way of pictorially viewing the structure of content already there. It would also need to have some drag and drop capabilities, essentially at the faces interface. I repeat though, this is not about individual photos, but about the visual representation of data already input by users that iPhoto's uses to create its groupings like the faces page.

Damn...I think I just muddied the waters more!:eek:

Once I can establish if its possible, I will then be on the hunt for a competent programmer.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.