[Feature] Interpolate Geolocation #2729
Closed
aero31aero
started this conversation in
Feature Request
Replies: 1 comment
-
|
This is the type of feature I think we won't be adding to immich core and is best implemented using the immich api. You should be able to write an api client that reads and edits the metadata using the endpoints documented in the immich docs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The feature
Often I'd have photos from the same event, but one taken with a DSLR and others with a phone. I was on my way to write a script to do this already, but then found Immich and moved all my files here.... here's the rough idea:
This way, the photos would show up approximately correctly on the map and be easier to search via some later geofencing filters or something.
In my implementation, I was storing another flag in the metadata
gps_interpolated: boolean, just in case you later wanna filter 'true' data vs 'made-up' data.This could also help with photos taken from the same device but the first one is taken fast enough that the device didn't yet have a GPS fix.
An example script: gpscorrelate. This one acts on a set of untagged images and a GPX file. To use this algo, it should be trivial to first create a GPX track from set B to then act on set A.
I'd imagine this would be perfect for the CLI in any case. Here was my imagined command from my notes for when I was writing my tool:
$ scarfin interpolate-gps --source pixel-2xl --target canon-600d --from 2023-05-23 --to 2023-05-30Platform
Beta Was this translation helpful? Give feedback.
All reactions