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.
YoloClassification
YOLO classification result for a single detected object
Operations
GetBounds #
Get classification bounds
method : public : GetBounds() ~ RectReturn
| Type | Description |
|---|---|
| Rect | classification bounds |
GetConfidence #
Get classification confidence
method : public : GetConfidence() ~ FloatReturn
| Type | Description |
|---|---|
| Float | classification confidence |
GetId #
Get classification ID
method : public : GetId() ~ IntReturn
| Type | Description |
|---|---|
| Int | classification ID |
GetName #
Get classification name
method : public : GetName() ~ StringReturn
| Type | Description |
|---|---|
| String | classification name |
ToJson #
JSON representation
method : public : ToJson() ~ JsonElementReturn
| Type | Description |
|---|---|
| JsonElement | JSON representation |