URl: https://github.com/colin0brass/FaceLabellingExportLrPlugin
This is a plug-in for Adobe Lightroom (Classic), to export images with face labelling from EXIF metadata
The image below is deliberately obfuscated (confidential details hidden by fading image and randomising text), however hopefully gives an idea of the purpose of this plug-in.
The face region outline boxes are optional and would typically be left disabled in real use, however I added them in this example since I feel they help to show what is going on for this highly faded-out image.
The plug-in did the following:
There is certainly lots that can be improved (see some thoughts listed further below), but hopefully this can be useful.
This plug-in was first created in August 2020, and has limited use so far, but does seem to be working for a few users across Mac and Windows platforms.
Please also be aware that I only have limited image test-cases, so I fully expect there to still be limitations and issues across a broader set of image formats and exif variations.
In the first releases I strongly advised this only for the intrepid who were comfortable with computing and scripting, and prepared for some failures and debug.
I suspect now a wider set of people should be able to use it, however I'm sure there will still be aspects of deployment and compatibility that I haven't come across yet and therefore will cause issues and need me to fix them.
Please feel free to raise issues in github, and give information about the version, platform and more specific details to help with diagnosis and fixing.
Abbreviated instructions:
This plug-in requires the following separate helper tools to be installed:
I have tried including a copy of ExifTool inside this plug-in, and it works for me both on Mac and Windows, but I fully expect there might be limitations and others might end up having to install ExifTool themselves.
On Mac the operating system requires binaries to be confirmed safe before use. To do this, open the plug-in folder in Finder (e.g. right click on it and 'Show Package Contents), browse to helper app file (e.g. Mac/ExifTool/exiftool), and 'open' it (e.g. right click and select 'Open') to prompt the OS to look at it and ask you if you trust it.
I did try to include imagemagick inside this plug-in, however it didn't work, so that definitely needs to be separately downloaded and installed.
Download and unzip (if zipped) this plug-in to a suitable location on your computer.
Note
Add the plug-in into Lightroom Classic
It will often be sufficient to download new version, put in same location to overwrite old files, and either restart Lightroom Classic, or "Reload Plug-in" in Plug-in Manager, or "Remove" and then "Add" in Plug-in Manager. To be safe and tidy in case some old files in the plug-in become obsolete, it could be good to delete the old plug-in folder from time to time before installing new version. Check the plug-in version shown under Lightroom Plug-in Manager to see if update has been correctly installed and loaded (note that this version information is intended to be aligned with github release & tag numbers, however is separately coded so on occasion I might miss updating it)
If you are done with this plug-in and want to remove it:
Once the plug-in is installed, please check its configuration in Plug-in Manager. See "Overall Settings", where the paths to the helper apps are configured.
It will have a go at choosing default paths for Mac vs Windows, however they might well be wrong for your computer setup, so please do check and update as necessary. The default paths for ImageMagick are simple fixed paths, with no clever sensing or update going on, so they are highly likely to need updating.
Please check if it says 'Found' for all of the helper apps, and if not, ensure they are installed and that the paths are correct.
Export settings in Export dialog box are persistent between sessions (saved during 'Export' operation)
Once the plug-in is installed and configured (as above), select some photos from your libary in Lightroom (Classic) and click 'Export...".
Select "Face Labelling Export" from the "Export To:" option at the top of the screen.
I have not done any testing of the standard Export "Add to this catalog" option. I suspect I might try to remove it in future.
I have added selection of the font type, which uses ImageMagick to list available system fonts
In case of problems, or to check what fonts ImageMagick knows about, try something like the following on the command-line (adding path to ImageMagick app if you need to):
magick -list font
or on a linux-like system with "grep" available, to get a more condensed font list:
magick -list font | grep Font
Check the export location, choose your labelling options (e.g. whether to draw the text, and which boxes to draw) and finally click "Export"
I have used the following for my (limited) testing so far: