Coder Social home page Coder Social logo

rateme's Introduction

Rating system using computer vision




RateMe is a neural network that allows you to recognize gestures of thumb up and thumb down. The algorithm can be embedded in your project and automate the process of evaluation of something or someone.

For example, using Rate Me you can:

  • Rate music on the YouTube Music service, when you are uncomfortable with clicking buttons

  • Count the votes in a beauty contest to determine the winner

  • Rate drinks and meals during their tasting

Technical part

Dependencies

  • opencv-python, numpy;

  • matplotlib, jupyter for jupyter-notebook

Installation

pip3 install rateme

Usage

Open Test_RateMe.ipynb to test RateMe on example images (for that you need to start jupyter-notebook, it will open window in your browser, where you need to select Test_RateMe.ipynb).

For example of realtime detection run detect_on_webcam.py.

Minimal working example:

import cv2
from rateme.utils import RateMe

net = RateMe()
img = cv2.imread('test_imgs/like.jpg')
label = net.predict(img)

Description

RateMe is based on tiny-YOLOv3 architecture.

It's accuracy of thumb up/down gesture recognition is calculated as mean average precision ([email protected]) = 0.851941, or 85.19%; average IoU = 73.89%

The neural network has been trained on ~3K images (taken from different angles photos of people showing their thumbs or not). Images were labeled using the labelImg program.

Return values: "like", "dislike", None

Speed

Full pipeline speed is 6-7 FPS on Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz.

~100ms on frame grabbing

~100ms on neural network inference

rateme's People

Contributors

banderlog avatar mynameisjura avatar

Watchers

 avatar  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.