Code Monkey home page Code Monkey logo

ova-server's Introduction

Open Vision API

Static Badge

๐ŸŒŸ Project Description

Open Vision API is an open source computer vision API based on open source models.


๐Ÿš€ Quick Start

The following instructions detail how to set up the ova-server.

For information regarding the official clients and a quick demo of the API functionality head to:

  • ova-client: the official Python client.
  • ova: the official Rust client.

Installation

Make sure you have:

Set up a local environment using TensorFlow Lite as the backend framework.

$ just setup-tensorflow-lite

See documentation for a list of supported deep learning frameworks.

Download the models.

$ poetry run ./cli.py download --model=yolov4 --framework=tensorflow_lite --hardware=cpu

Usage

Run the ova-server.

$ just run-with-tensorflow-lite
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
INFO:     Started server process [3588600]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)

Get the official client.

Python client:

$ git clone https://github.com/openvisionapi/ova-client
$ cd ova-client
$ just setup
$ OVA_DETECTION_URL=http://localhost:8000/api/v1/detection poetry run ./ova.py detection images/cat.jpeg

For more information about the python client, please visit https://github.com/openvisionapi/ova-client

Rust client:

$ git clone https://github.com/openvisionapi/ova
$ cd ova
$ OVA_DETECTION_URL=http://localhost:8000/api/v1/detection cargo run -- detection -i assets/cat.jpeg

For more information about the rust client, please visit https://github.com/openvisionapi/ova


โ›๏ธ Built Using


๐Ÿค Contributions

All contributions are welcome!

Setting up the Development Environment

To set up the development environment, simply run the command:

$ just dev

Code Style Checks

ruff and mypy are used to ensure that contributions are stylized in a uniform manner.

  • ruff is used as a linter and a code formatter.
  • mypy is used for static typing.

๐Ÿ”ง Tests

To run the tests, simply use the commands:

$ just dev
$ just test

๐Ÿ“„ Documentation

The complete documentation can be found here documentation


โš–๏ธ License

AGPLv3

ova-server's People

Contributors

jaciahr avatar pythops avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ova-server's Issues

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.