This project is using a super easy-to-use package imageAI. preparations: Make sure you installed the following dependencies.
- Python 3.5.1 (and later versions) Download (Support for Python 2.7 coming soon) pip3 Install
- Tensorflow 1.4.0 (and later versions) Install or install via pip pip3 install --upgrade tensorflow
- Numpy 1.13.1 (and later versions) Install or install via pip pip3 install numpy
- SciPy 0.19.1 (and later versions) Install or install via pip pip3 install scipy
- OpenCV Install or install via pip pip3 install opencv-python
- Pillow Install or install via pip pip3 install pillow
- Matplotlib Install or install via pip pip3 install matplotlib
- h5py Install or install via pip pip3 install h5py
- Keras 2.x Install or install via pip pip3 install keras
After that, install imageAI by following instuctions: https://github.com/OlafenwaMoses/ImageAI
As a result, the following image for example:
can be classified to get results with probabilities:
cardigan : 91.30910038948059 stole : 4.195530340075493 bonnet : 0.9958759881556034 wool : 0.8504630997776985 fur_coat : 0.5948598496615887