We can train treasures' images using Watson API.
- Python 2.7.10
- watson_developer_cloud
-
Please download the data, unzip, and move to the this script's directory.
-
Learn images using Watson.(You can skip this step, because I had finished learn them. We can have only one classfier per an account, so if you want to learn, you have to delete a previous classifier.)
$python train.py
-
If you want to know the state of this classifier, start 'getState.py'.
$python getState.py
-
If you want to classify your image, start 'predict.py'.
$python predict.py <your image>
-
If you want to delete the classifier, start 'deleteClassfier.py'.
$python deleteClassfier.py
Please read Requirement section, and install packages you haven't installed.