A minimal Flask web application for labelling images into a CSV dataset
- You need Flask and Python 3 to run this application. (Setting up https://teamtreehouse.com/community/how-to-run-flask-locally)
- Place images you would like to label for a single class (Positive/Negative) into static/img folder.
- Edit LABEL_CLASS in app.py to reflect the class you are labelling (1 for positive, 0 for negative)
- Start app with python app.py
- Access application at localhost:8080
- Headers for your CSV file will be generated from the labels in options.py
- When all images in your static/img folder are labelled, the app will exit with index_out_of_bounds
- Only .jpg images are handled by file_management