Git Product home page Git Product logo

ova-server's Introduction

Open Vision API

Status License: AGPL v3 security: bandit

๐Ÿš€ Quick start

An instance of ova-server is free and publicly available here:

https://api.openvisionapi.com

Checkout ova-client for a quick demo.

Installing

  1. Setup a local enviroment using tensorflow lite as backend framework
$ make setup-tensorflow-lite

See the documentation for the list of supported deep learning frameworks.

  1. Download the models:
$ ./cli.py download --model=yolov4 --framework=tensorflow_lite --hardware=cpu

Usage

Run the ova-server

$ make run

[2021-03-26 19:45:37 +0100] [396769] [INFO] Starting gunicorn 20.0.4
[2021-03-26 19:45:37 +0100] [396769] [INFO] Listening at: http://0.0.0.0:8000 (396769)
[2021-03-26 19:45:37 +0100] [396769] [INFO] Using worker: sync
[2021-03-26 19:45:37 +0100] [396771] [INFO] Booting worker with pid: 396771

Get the official client

$ git clone https://github.com/openvisionapi/ova-client
$ cd ova-client
$ make setup
$ source .venv/bin/activate
$ DETECTION_URL=http://localhost:8000/api/v1/detection ./ova_client.py detection images/cat.jpeg

More information about the ova-client https://github.com/openvisionapi/ova-client

โ›๏ธ Built Using

โœ๏ธ Author

Badr BADRI

๐Ÿค Contributing

Your contributions are welcome !

Setting up development environment

To setup the development environment, simply run this command

$ make dev

Code-style checks

black is used for code formatting.

mypy is used for static typing.

๐Ÿ”ง Tests

To run the tests, simply run those commands

$ make dev
$ make test

๐Ÿ“„ Documentation

Full documentation can be found here:

https://openvisionapi-documentation.readthedocs.io/en/latest/

โš–๏ธ License

AGPLv3

Copyright ยฉ 2021 Badr BADRI @pythops

ova-server's People

Contributors

pythops avatar

Watchers

 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.