AbstractAbstractclassifyClassify an image.
Image buffer or file path
Array of classification results with labels and confidence scores, sorted by confidence descending
OptionalcleanupClean up resources used by the Vision engine. Optional method for backends that need to release resources.
AbstractdescribeDescribe an image with natural language caption. Note: This method is only supported by Azure Vision backend.
Image buffer or file path
Image description with confidence score
AbstractdetectDetect faces in an image.
Image buffer or file path
Response object with boolean flag indicating if faces were detected and array of face metadata
AbstractdetectDetect objects in an image.
Image buffer or file path
Array of detected objects with labels, confidence scores, and bounding boxes
Abstractinitialize
Abstract Vision Engine Base Class
Defines the interface for Vision backends (ONNX, Google Cloud Vision, Azure Vision, etc.) All implementations must extend this class and implement the required methods.