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.
DeepLabClassification
DeepLab classification result for a single segmented class with coverage and polygons
Operations
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 |
GetPolygons #
Get identified polygons
method : public : GetPolygons() ~ Collection.Tuple.Pair[]<IntRef,IntRef>Return
| Type | Description |
|---|---|
| CollectionTuplePair[]<IntRef,IntRef> | identified polygons |
ToJson #
JSON representation
method : public : ToJson() ~ JsonElementReturn
| Type | Description |
|---|---|
| JsonElement | JSON representation |