You are here: Start » DLInvoke.DL_ClassifyObject
Executes a Classify Object model on a single input image.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.DL.Cpu.dll |
Syntax
C++
C#
public static void DL_ClassifyObject ( Avl.Image inImage, Optional<Avl.Rectangle2D> inRoi, Optional<Avl.CoordinateSystem2D> inRoiAlignment, Avl.ClassifyObjectModelId inModelId, bool inCreateHeatmap, List<Avl.ClassConfidence> outConfidences, out string outClassName, out int outClassIndex, out float outScore, Avl.Heatmap outRelevanceHeatmap, Optional<Avl.Rectangle2D> outAlignedRoi )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Rectangle2D> | Limits the area where a classified object is located. Default value: atl::NIL. | ||
![]() | inRoiAlignment | Atl.Optional<Avl.CoordinateSystem2D> | |||
![]() | inModelId | Avl.ClassifyObjectModelId | Identifier of a Classify Object model. | ||
![]() | inCreateHeatmap | bool | Enables creating a relevance heatmap at the expense of extended execution time. Default value: False. | ||
![]() | outConfidences | System.Collections.Generic.List<Avl.ClassConfidence> | Returns confidences for all classes. | ||
![]() | outClassName | string | Returns the name of the class with the highest confidence. | ||
![]() | outClassIndex | int | Returns the index of the class with the highest confidence. | ||
![]() | outScore | float | Returns the value of the highest confidence. | ||
![]() | outRelevanceHeatmap | Avl.Heatmap | Returns the heatmap indicating how strong specific parts of image influenced the classification result. | ||
![]() | outAlignedRoi | Atl.Optional<Avl.Rectangle2D> | Input roi after the transformation. |