Bundle ONNX Runtime inference library for running pre-trained models. Supports object detection (YOLO), image classification (ResNet), segmentation (DeepLab), pose estimation (OpenPose), face recognition, and Phi-3 text generation. Compile with -lib onnx.
DeepLabResult
DeepLab segmentation results containing masked/overlay images and per-class classifications
Operations
- GetClassifications
- GetMaskedDimensions
- GetMaskedImage
- GetOverlayDimensions
- GetOverlayImage
- ToJson
- ToString
GetClassifications #
Gets an array of classifications
method : public : GetClassifications() ~ DeepLabClassification[]Return
| Type | Description |
|---|---|
| DeepLabClassification | array of classifications |
GetMaskedDimensions #
Gets the masked image dimensions
method : public : GetMaskedDimensions() ~ Int[]Return
| Type | Description |
|---|---|
| Int | masked image dimensions |
GetMaskedImage #
Gets the masked image
method : public : GetMaskedImage() ~ API.OpenCV.ImageReturn
| Type | Description |
|---|---|
| Image | masked image |
GetOverlayDimensions #
Gets the overlay image dimensions
method : public : GetOverlayDimensions() ~ Int[]Return
| Type | Description |
|---|---|
| Int | overlay image dimensions |
GetOverlayImage #
Gets the overlay image
method : public : GetOverlayImage() ~ API.OpenCV.ImageReturn
| Type | Description |
|---|---|
| Image | overlay image |
ToJson #
JSON representation
method : public : ToJson() ~ JsonElementReturn
| Type | Description |
|---|---|
| JsonElement | JSON representation |