Exploring EXIF
hturan.com
hturan.com
For example, to find your "best" photos based on overall aesthetic score and add them to the album "Best Photos" you could run:
osxphotos query --query-eval "photo.score.overall > 0.8" --add-to-album "Best Photos"
To find good photos with trees in them you could try something like:
osxphotos query --query-eval "photo.score.overall > 0.5" --label Tree --add-to-album "Good Tree Photos"
There's quite a bit of other interesting data in Photos that you can explore with osxphotos. Run `osxphotos inspect` and it will show you all the metadata for whichever photo is currently selected in the Photos app.
[0] https://github.com/RhetTbull/osxphotos [1] https://rhettbull.github.io/osxphotos/
Thanks for the cool tool! I too wish Apple exposed these scores as a filter at the GUI level, but after seeing the output, perhaps I know why they don't.
This isn't quite right. That's a JPEG application specific marker (APP1). It indicates that some additional data is embedded in the JPEG file at that point which should be interpreted in an application specific manner (e.g. skipped if the program doesn't know how to handle it). That could be Exif tags but could also be other things (like XMP). An APP1 segment can be distinguished as Exif data based on the presence of the "Exif" string immediately after the segment size. (The tags themselves are stored in essentially a TIFF file embedded after the Exif identifier, if you're curious.)
What was most alarming to me, (I’m not sure why it was a surprise) was that all this rich EXIF data is available to any app that I grant full access to my photo gallery.
Which I use before uploading photos to pubic services.
Exif has surprising amount of infomration
exiftool -All= image.jpgIt's saved me from digging out a purpose-specific tool a couple times.
exiftool -All= image.jpgFor the example they give, I'm counting 14 significant digits for GPSLatitude, and 16 for GPSLongitude, which is way more specific than a grain of sand, ref https://xkcd.com/2170/
I suppose it's floating point, and of course that brings its own "fun" in displaying in decimal.
At least it also includes GPSPositioningError!
https://github.com/lelandbatey/batey_bike_trip_records/blob/...
IF you are interested to learn more, look into "deadbox" digital forensics.
From the metadata of a person's photos, you can extract, inter alia:
...whether they took some photos from a plane or helicopter (viewshed, angle and altitude are preserved);
...how conscientious someone is (by looking at their iPhone's uptime, perhaps the over-conscientious person with an extreme uptime is borderline OCD?).
exiftool apparently can extract these also:
exiftool -a -b -W %d%f_%t%-c.%s -preview:all dir
Extract all types of preview images (ThumbnailImage, PreviewImage, JpgFromRaw, etc.) from files in directory "dir", adding the tag name to the output preview image file names.
I would recommend you to try an open-source semantic photo search app I've made, it's called Queryable. See: https://github.com/mazzzystar/Queryable
Scary.
[0]: https://exiftool.org