Moondream
An async Rust client for the Moondream API.
This library wraps the HTTP endpoints exposed by the service, providing a simple interface for point detection, object detection, captioning and visual question answering.
Usage
Add the crate to your Cargo.toml:
= "0.1"
Instantiate the client
For a local deployment:
use MoonDream;
let md = local;
For the hosted service:
let md = remote;
Examples
The examples directory contains runnable samples. Execute one with:
Features
/point- detect objects and return centre points/detect- bounding box detection/caption- generate captions for images/query- visual question answering
Testing