Coder Social home page Coder Social logo

hoshinory / ccdev-vision Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wxh0000mm/ccdev-vision

0.0 1.0 0.0 15.9 MB

Fashion Image Recognition Webapp

Home Page: http://www.ccdev.in

License: MIT License

Shell 0.04% Python 86.44% C 3.73% C++ 2.66% CSS 0.83% JavaScript 1.88% HTML 4.42%

ccdev-vision's Introduction

Imaginashion - Product Recognition and Retrieval

Introduction

This is a small example of a Computer Vision Application that takes in fashion images and retrieves corresponding products from Amazon. The match is based on keywords describing the clothing returned by the Google Cloud Vision API and the Amazon Search Results for the same keywords.

Description

Here, you'll find a Django project with a minimal app. You can run the example standalone by cloning the repository, running the migrations, adding the keys and starting the server.

You will require an API Key from Google Cloud Vision in order to setup your API calls in file 'label/label.py' as well as an Amazon API Key for running queries as set up in 'fileupload/fetch_py3'

Overview

  • Upload files
  • Various UI Features for uploads including Drag and Drop
  • Analyse Image using Google Cloud Vision
  • Retrieve matching Amazon Products using the Amazon Product Search API

Requirements

  • Django
  • Python Imaging Library
  • Google Python Client API

If you do not get PIL to work (pillow is a replacement package that works with virtulalenvs), use FileField instead of ImageField in fileupload/models.py as commented in the file.

Set up a Trial Account on Google Console which will provide $300 worth of free credits for testing purposes.

Set up Amazon Account to retrieve Keys for authentication with API calls.

Installation

  • Running on Python 3.5.4 and Django 1.9.8

    pip install -r requirements.txt (will install django and pillow)
    python manage.py migrate
    python manage.py runserver
    
  • Obtain and Configure your Amazon API Key

  • Obtain and Configure Google Cloud Vision API Key

  • go to localhost:8000/upload/new/ and upload some files

References

jQuery-File-Upload is developed by Sebastian Tschan, with the source available on github. Example code is ported to Django by Sigurd Gartmann (sigurdga on github).

License

MIT, as the original project. See LICENSE.txt.

ccdev-vision's People

Contributors

sigurdga avatar et-cs avatar swapneelm avatar dolgiyspb avatar avaisp avatar ikonitas 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.