Giter Site home page Giter Site logo

fashionclassifier's Introduction

FashionClassifier

This classifier was created to identify fashion styles between four categories: grunge, streetwear, haute couture, and preppy. It was created using Nanonets API. The Training_Model_Nanonets_API file shows the code used to deploy the Nanonets API wrapper to my training model and the Fashion styles file shows the trained model. Here's how I did it:

  1. Create API using Nanonets

    git clone https://github.com/NanoNets/image-classification-sample-python.git cd image-classification-sample-python, sudo pip install requests

  2. Download 1000 photos using Fatkun Batch Download Chrome extension

    A. Create four folders by fashion syle: - Preppy - Streetwear - Grunge - Haute Couture

    B. Input code into Training_Model file

  3. Train Model with four fashion styles using 1000 photos:

         - Preppy
         - Streetwear
         - Grunge
         - Haute Couture
    
  4. API accuracy: 79.45206%

*Examples:

2Q__ (6)

  • {"message":"Success","result":[{"message":"Success","prediction":[{"label":"streetwear","probability":0.96925855},{"label":"grunge","probability":0.21886736},{"label":"haute_couture","probability":0.01011632},{"label":"preppy","probability":0.004824163}],"file":"2Q__ (6).jpg"}]}

images - 2020-06-29T193244 762

  • {"message":"Success","result":[{"message":"Success","prediction":[{"label":"grunge","probability":0.85924125},{"label":"preppy","probability":0.07808834},{"label":"haute_couture","probability":0.048710093},{"label":"streetwear","probability":0.022214254}],"file":"images - 2020-06-29T193244.762.jpg"}]}

images - 2020-06-29T194709 118

  • {"message":"Success","result":[{"message":"Success","prediction":[{"label":"preppy","probability":0.9066279},{"label":"streetwear","probability":0.12773524},{"label":"grunge","probability":0.0410224},{"label":"haute_couture","probability":0.012403343}],"file":"images - 2020-06-29T194709.118.jpg"}]}

images - 2020-06-29T195702 227

  • {"message":"Success","result":[{"message":"Success","prediction":[{"label":"haute_couture","probability":0.94372743},{"label":"preppy","probability":0.048559822},{"label":"grunge","probability":0.025903732},{"label":"streetwear","probability":0.020954607}],"file":"images - 2020-06-29T195702.227.jpg"}]}

fashionclassifier's People

Contributors

jazmiahenry avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.