Rename images using deep learning
Auto-image-renamer automates the task of renaming images with meaningful names. It uses Microsoft Computer Vision API's deep learning algorithms to rename the images
- Python 3.5 (Tested under Ubuntu Python 3.5)
https://www.microsoft.com/cognitive-services/en-us/sign-up.
Replace this key with MICROSOFT_VISION_API_KEY
in renamer.py
python3 renamer.py path_to_images_dir
NOTICE: Do not use a triling slash in dir
EXAMPLE python3 renamer.py /home/sanju/images
All the images in the given directory will be renamed with meaningful names now.
- Find all the images in the given directory
- Stream images using uploads.im API, and then with its URL, send request to Microsoft's API to caption.
- Rename the files with new name from the VISION API
It uses uploads.im api to stream the files, do not use it with personal images.
Originally inspired from https://github.com/ParhamP/altify