Skip to content

Flask API for object recognition server using OpenCV and YOLOv3

License

Notifications You must be signed in to change notification settings

masesk/sync-rec-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1f47541 · Jul 1, 2020

History

4 Commits
Jul 1, 2020
Jul 1, 2020
Jul 1, 2020
Jul 1, 2020
Jul 1, 2020
Jul 1, 2020

Repository files navigation

sync-rec-api

A Flask server that recieves images in base64 format, saves them, and pass them to a neural network for object reconition using OpenCV's YOLOv3.

Setup

Install OpenCV

Follow the instructions on OpenCV's tutorial to install and setup OpenCV on your OS.

Install Dependencies

Requirements:

  1. Python3

Instructions

  1. (OPTIONAL) Generate a virtual enviroment to keep pip list install clean. Run :
python3 -m venv .venv
  1. (OPTIONAL) Activate virtual enviroment. Run:
. .venv/bin/activate
  1. Install required packages. Run:
pip install -r requirements.txt

Run Flask Server

  1. To start the Flask server on port 8080, run:
python app.py
  1. To change the port, modify port=8080 in app.run() function in app.py.

About

Flask API for object recognition server using OpenCV and YOLOv3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published