Coder Social home page Coder Social logo

popbot's Introduction

Popbot

Let AI transform your images

Installation: (run both client & server simultaneously)

client:

cd client

# Install dependencies
npm install

# Start dev server
npm run serve

server:

IMPORTANT: Download the model file on this link and put it in the server directory before doing the following.

cd server
pipenv shell

# Install dependencies (using Pipenv)
sudo pipenv install --skip-lock

# Start server with a category to detect
python main.py <category>

# Example:
python main.py person

Categories:

You can start the server with one of these categories as arguments to detect them in your image.

  1. Vehicles:
  • car
  • bicycle
  • motorcycle
  • airplane
  • bus
  • train
  • truck
  • boat
  1. Animals:
  • bird
  • cat
  • dog
  • horse
  • sheep
  • cow
  • elephant
  • bear
  • zebra
  • giraffe
  1. Food:
  • banana
  • apple
  • orange
  • carrot
  • pizza
  • cake
  • cup
  • bottle
  1. Other:
  • person
  • umbrella
  • skateboard
  • laptop
  • tv
  • book

NOTES:

  • For some weird reason, you have to restart the server in order to transform another image. If you don't, you'll get the first image as output. I didn't have time to figure out why that happens.
  • You can't combine two categories.
  • By default, only the largest object will be detected.

Demo:

Donate:

Yeah. I know, I don't really deserve a donation for this tiny thing but here are my crypto addresses in case you're Jesus or just in case you want to support a 19 years old nerd.

  • Bitcoin: 1GUZ5w7A9PEu8TNrvKfAAaqhABUPW4RjfS

  • Ethereum: 0x56D6C69EC22Ee78A0454A165738A20a2e961385d

  • Bitcoin Cash: qz5mle4x2vjelax2c0wxhuprq5ha63w4xsj0r38g8s

popbot's People

Contributors

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