Imgdir demo
In [ ]:
import uassist, ipyfilechooser, os, pandas
from uassist.imgtag import imgdir
from ipyfilechooser import FileChooser
Select path to folder directory¶
Choose the directory containing .jpg or .tif images. Currently the images must all be in this folder and not in any sub-directories.
In [ ]:
folderpath = os.path.abspath('/Users/mckinney/dev/img')
fc = FileChooser(folderpath,
show_only_dirs = True,
use_dir_icons = True,
select_default = True,
title = '<b>Select folder containing image files</b>'
)
display(fc)
Run IMGDIR module¶
- Displays a summary of information from image data including:
- Average, maximum and minimum altitude
- List of camera/UAS model used in image set
- List of image resolutions in image set
- Range of timestamps on images
- Returns warning messages if multiple cameras, resolutions are found or if altitude range exceeds 10% of average
- Displays map of image locations
In [ ]:
print(fc.selected)
imgdir(fc.selected)
In map functionality¶
- Change basemap: choose from list of imagery and cartographic layers
- Add shapefile data
- Click on marker to get image filename, altitude and date/time taken
- Interactive distance measurements on map
In [ ]:
Last update: 2021-05-07