Skip to content

openvisionapi/ova

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenVisionAPI Client

📦 Setup

Binary releases

You can download the prebuilt binaries from the release page

Build from source

To build from the source, you need Rust compiler and Cargo package manager.

Once Rust and Cargo are installed, run the following command to build:

$ cargo build --release

This will produce an executable file at target/release/ova that you can copy to a directory in your $PATH.

🚀 Usage

Print the API response in a pretty formatted json :

$ ova detection -i /path/to/image

Draw boxes on the detected objects:

$ ova detection -v -i /path/to/image

⚙️ Configuration

The configuration can be set up using the following environment variables:

OVA_DETECTION_URL : The URL to the OpenVisionAPI server. The default is https://api.openvisionapi.com/api/v1/detection

OVA_OUTPUT_DIR : The directory where to store the image. The default is ./output

🤝 Contributing

Your contributions are welcome !

⚖️ License

AGPLv3