Crate moondream

Source
Expand description

Client for the Moondream vision API.

Provides a simple wrapper around the Moondream HTTP endpoints. It is used to detect objects in images, generate captions and answer visual questions. Examples are available in the examples directory.

Structs§

CaptionResponse
Response from the /caption endpoint.
DetectResponse
Response returned by the /detect endpoint.
DetectionObject
Bounding box coordinates for a detected object.
MoonDream
Client for interacting with the Moondream API.
Point
Centre point coordinates returned by the /point endpoint.
PointsResponse
Response returned by the /point endpoint.
QueryResponse
Response from the /query endpoint (Visual Question Answering).

Enums§

CaptionLength
Controls the length of the caption returned by MoonDream::caption.
Error
Errors returned by the MoonDream client when performing HTTP requests.