Hi,
I'm new to zenphoto - I'm using it to display 10 years worth of digital photos, having replaced my self built site.
A large number of my photos have facial recognition tags embedded into their XMP data via Picasa. I've also tried the embedding facial recognition tags from Windows Photo Gallery. However, neither set show up against the photo in zenphoto, nor are any results produced when I do a search against the name.
I've also tried enabling the XMP plugin.
Does zenphoto support these types of tags and I'm doing something wrong, or is this a feature request?
Thanks
Richard
Comments
You can of course open a ticket for a feature request but I am sorry that I can already tell that this will not get any priority.
I guess this is a feature request.
Richard
As said feel free to open a feature request ticket on GitHub but please don't expect anything on this anytime soon. Seems a quite specific requirement to me. If you really need it right now best do it yourself or hire someone.
There are a number of other tags under XMP that also define a rectangle (i.e. region) that indicates on the photo where that face actually is. However, this is beyond what I am looking for.
If you can point me in the direction of what I would need to change, then I could see if my rusty coding skills can identify what needs doing.
I've had to make changes to both xmpMetaData.php and functions.php.
It's never good having to make tweaks to core, as it means I can't upgrade going forwards. If others are interested, and someone can let me know how, then happy to get my changes implemented back into the core.
Bells and whistles would be to have the names represented as tags at the bottom of the image, alongside the location based tags.
Core files like functions.php you indeed shouldn't modify. If you need a new column for storage in the database there is way to add those to each item's tabl mwithout needing to hack the core. You finde the tool within `zp-core/zp-extensions/custom/fieldextender.php`.
It is however an rather invconvenient coder tool to do this programmatically and this will be easier on our next major update.
Another way would be to read the info and assign it as real tags.
I've turned this into a separate plugin, which then assigns the face names as real tags.
http://www.birty.net/download/xmpMetadataPlusNameTags.zip
Richard
If we create an entry on our extensions section we generally don't like to link directly to 3rd party downloads to avoid confusion. Please take also a look here:
http://www.zenphoto.org/news/general-contributor-guidelines#providing-themes-and-plugins
Where could I get it please ?
Otherwise what should I change in the code ?
All I am trying is to import the RegionName list (so all the names associated with the faces on Picasa) to a keyword list (in Tags field for example).
Thank you
Inded that's what i was looking for but the download does not work and there is no way to contact onetoomany
so i played around a bit with the code, and used another 'field' in xmpmetada.php to import the list of faces... i did manager to import some stuff... but not just the face list as tags
Edit: I found a local copy and have for now uploaded it to our https://github.com/zenphoto/Unsupported/ repository.