Giter Site home page Giter Site logo

saifveesar / websiteyolo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from v-iashin/websiteyolo

0.0 0.0 0.0 48.37 MB

The back-end for YOLOv3 object detector running online on my website

Home Page: https://v-iashin.github.io/detector

Python 99.90% Shell 0.10%

websiteyolo's Introduction

Object Detector's Predictions (YOLO v3) on a Sample Image. Caption: 'a man in a business suit and a person in a bear consume are walking on a sidewalk, which is surrounded by cars on a sunny day (Saint Petersburg, Russia)'.

The repository stores the back-end for the Flask application, which serves the requests coming from the detector at my website.

How Does it Work

To put it simply, it receives a user image and runs an object detection algorithm on it (YOLO v3). Once the predictions are retrieved, the resulting image with bounding boxes is sent back to the front-end. In this README I provide the environment setup for the compute machine. However, setting up the bach-end machine is just the tip of an iceberg. The whole engineering pipeline includes many other steps full of caveats. Just to scratch the surface, I undertook the following steps to build this project:

  1. writen the website front-end (v-iashin/v-iashin.github.io)
  2. obtained a domain name (Freenom โ€” I wouldn't recommend it though!)
  3. rented an instance and reserved an IP for it (GoogleCloud)
  4. added DNS entries mapping my domain to the instance IP (Freenom again)
  5. signed instance-side digital certificates for HTTPs for my domain (Let's Encrypt)
  6. setted up the back-end environment on my instance + detector implementation (THIS repo)

If you are interested in the details of each step, let me know in Issues.

Setting up the Environment

Download the YOLOv3 weights

bash ./weights/download_weights_yolov3.sh

Install the conda environment

conda env create -f ./conda_env.yml
conda activate detector

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.