Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 2.21 KB

File metadata and controls

25 lines (21 loc) · 2.21 KB

Automatic Image Annotation for Microstock Sites

Application serves for automatic image annotation, mainly for microstock websites like Shutterstock, Fotolia,... It is using several approaches, which can be combined and set-up in config.py:

alt text

Instalation:

  • Clone or download this repository from Github
  • Install Python and pip, tested with Python 3.6 and 3.7 other version might cause problems
  • Activating virtual environment is recommended, prerequisites might have up to 6 GB, tested using venv in Pycharm IDE.
  • Run setup.py, this will install requirements.txt as well as download NN models and wordnet stopwords.
  • Mainly on Windows there might be problem with Tensorflow installation, if this occurs make sure to follow this guide.
  • Rename the cloned repository if it is necessary due to "Destination Path Too Long" error.

Workflow:

  • Run annotate.py from terminal or using IDE with images as parameters for example:
    python annotate.py /path/*.jpg
    python annotate.py /path/01.jpg /path/02.jpg
  • Run annotate.py without any parameter and select images in the pop-up window
  • Results of annotation are automatically saved to IPTC of annotated images.
  • Feel free to experiment with application parameters in configuration.py file