flingo64 / PhotoStation-Upload-Lr-Plugin

Photo StatLr (aka PhotoStation Upload) is a Lightroom Publish and Export Service Plugin that enables the export /publishing of photos and videos from Lr to a Synology Photo Station. It uploads the photos/videos and all required thumbnails. It can download comments and ratings and do a real two-way synch of various metadata (tags, ratings, labels).
http://messmer-online.de/index.php/software/11-photo-statlr
GNU General Public License v3.0
209 stars 21 forks source link

Missing option to import Person tags from Photo server 1.1 #66

Open hemsoe opened 2 years ago

hemsoe commented 2 years ago

Hi...

I don't know if it me missing something.. But using Photo server 1.1, I can't set the option to download Person tag/Faces in Lightroom. The options there if I setup a sync for Photo Station 6.8.

/Dan

flingo64 commented 2 years ago

To cut a long story short: it's not suppoorted for Photos.

In Photo Station face regions defined in an uploaded photo were recognized and supported by Photo Station. The face regions used to be anttributes of a photo which could be queried. So, when Face download was enabled those regions were queried and then written back to the photo locally, because there was/is no Lr API to add face regions to photos in th Lr library. Finally, the metadata of the locally changed photo had to be read back into Lr, which did not always work well, but at the end of the day it was possible to add/delete face regions in Lr and/or Photo Station and upload and download face regions w/ loss of infomation.

Photos does not support face regions or even person tags in uploaded photos or via its API. On the download side you can only query person tags, which is simply a name w/o region info. So, you can't generate a face regions from that for your local photo. You could however download the person tag from Photos and store it as Keyword (type person) in Lr. So, next time the photo is uploaded to Photos again, the keyword will be interpreted as general tag by Photos. Now, when face regognition is done again in Photos, you will have a person tag and a general tag with the same name. Next time you download keywords and person tags from Photo to Lr, you will get a new, duplicated keyword. So, you can't get a good synchronisation circle without a lot of workarounds.

flingo64 commented 1 year ago

FYI: in version 7.3.0, when downloading tags is enabled, then the names of the person tags associated with a photos will now also be downloaded and stored as keyword in Lightroom For more info on that #feature see 07-Publish-Some words on the two way sync of metadata.md.

My earlier statement:

You could however download the person tag from Photos and store it as Keyword (type person) in Lr. So, next time the photo is uploaded to Photos again, the keyword will be interpreted as general tag by Photos. Now, when face regognition is done again in Photos, you will have a person tag and a general tag with the same name. Next time you download keywords and person tags from Photo to Lr, you will get a new, duplicated keyword. So, you can't get a good synchronisation circle without a lot of workarounds.

still holds true, but it might be an acceptable downside of beeing able to sync the face recognition results of Photos at least partially with Lightroom, as was in my case.