Sort Images into Directories

Imitates the automatic photo categorization functionality of some commercial photo-organization suites. Given an unorganized directory of images (e.g. a DCIM directory from a digital camera), this sample sorts the photos into directories based on the content of the photos.

Language

Python

Location

xnor-sdk-<harware-target>/samples/python/sort_images_into_directories.py

Dependencies

Installed Xnor model.

Compatible Xnor Models

Classification and object detection models

Example Usage

python3 sort_images_into_directories.py ../test-images new-sorted-directory