# exif_binner.py Bins multispectral drone images by spectral band, using EXIF data. Also verifies that each bin is complete (i.e. contains all expected bands) and can log errors to a CSV file. Excludes RGB images by default. ## Requirements - [Pillow](https://pillow.readthedocs.io/en/stable/installation.html) library for reading images and EXIF data. - [tqdm](https://github.com/tqdm/tqdm#installation) for progress bars - can be removed ## Usage ``` exif_binner.py ``` Optional arguments: - `-b`/`--bands `: Number of expected bands per capture. Default: `5` - `-s`/`--sequential `: Use sequential capture group in filenames rather than original capture ID. Default: `True` - `-z`/`--zero_pad `: If using sequential capture groups, zero-pad the group number to this many digits. 0 for no padding, -1 for auto padding. Default: `5` - `-w`/`--whitespace_replace `: Replace whitespace characters with this character. Default: `-` - `-l`/`--logfile `: Write processed image metadata to this CSV file - `-r`/`--replace_filename `: Use this instead of using the original filename in new filenames. - `-f`/`--force`: Do not ask for processing confirmation. - `-g`/`--no_grouping`: Do not apply grouping, only validate and add band name. - Show these on the command line with `-h`/`--help`.