What is a proper python code, which enables to scan photographs (when captured from a series of snapshots) and match it with a geo-tagged image database.
Based on the extent of similarities existing between captured photo and geo-tagged images, it must help in finding my position on a map.
So far, I am aware of finding latitude and longitude of an image file using following python code
from osgeo import gdal geotiff= gdal.Open('C:\Users\nikhil\Desktop\north_rgb.tif') width,height=geotiff.RasterXSize,geotiff.RasterYSize gt = geotiff.GetGeoTransform() minx = gt miny = gt + width*gt + height*gt maxx = gt + width*gt + height*gt maxy = gt print(minx,miny,maxx,maxy)
I need some extension or modification of this code as my requirement stated above.