A dress classifier trained on Bangladeshi dress types. Supported dress types:
- Panjabi
- Kamiz
- Lungi
- Shari
- Dhuti
- Borka
- Fotua
- Blazer
- Jacket
- Hijab
- Pant
- Shirt
- Sweater
- T-shirt
First, with python and pip installed, install the scripts requirements:
pip install -r requirements.txt
Then you must compile the Protobuf libraries:
protoc object_detection/protos/*.proto --python_out=.
Add models
and models/slim
to your PYTHONPATH
:
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
Note: This must be run every time you open terminal, or added to your
~/.bashrc
file.
Just run the following command:
python object_detection/object_detection_runner.py
It will run your object detection model found at output_inference_graph/frozen_inference_graph.pb
on all the images in the test_images
directory and output the results in the output/test_images
directory.