Nearest Neighbor Image(s)

Started by dericson, Today at 08:18:46 AM

Previous topic - Next topic

dericson

Hello - I'm new to the tool and was wondering if there was a feature help determine n nearest neighbors?  For example, if I provide the tool with a directory that contains 10 images is it possible to extract which of the images are within 5 feet of each other (if any)?

Phil Harvey

If you are talking about using the GPS coordinates, then 5 feet is probably too tight because the positioning error could easily be larger than that.

But the way to do this would be to use ExifTool to output all GPS coordinates to a file, then use some other software to make a table of distances between each pair of images, then group them accordingly.

An alternative would be to crate a KML file from the images, then load this into Google Earth and look for groupings by eye.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

If you have a specific GPS coordinate, you can search for files near that coordinate. See this post.

But otherwise, no. Exiftool knows the details for one file at a time and it would take additional scripting to compare data between files.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype