You can download the prebuilt binaries from the release page
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
.
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
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
Your contributions are welcome !
AGPLv3