You are here: Start » DLInvoke.DL_SegmentInstances

DLInvoke.DL_SegmentInstances

Executes a Segment Instances model on a single input image.

Namespace:Avl
Assembly:AvlNet.DL.Cpu.dll

Syntax

C++
C#
 
public static void DL_SegmentInstances
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Avl.SegmentInstancesModelId inModelId,
	Optional<float> inMinDetectionScore,
	Optional<int> inMaxObjectsCount,
	List<Avl.Box> outBoundingBoxes,
	List<int> outClassIds,
	List<string> outClassNames,
	List<float> outScores,
	List<Avl.Region> outMasks
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Limits the area where objects may be located. Default value: atl::NIL.
inModelIdAvl.SegmentInstancesModelIdSegment Instances model stored in a specific disk directory.
inMinDetectionScoreAtl.Optional<float>Sets a minimum required score for an object to be returned. If not set, a value determined during the training is used. Default value: atl::NIL.
inMaxObjectsCountAtl.Optional<int>Limits maximum number of returned objects. If not set, a value determined during the training is used. Default value: atl::NIL.
outBoundingBoxesSystem.Collections.Generic.List<Avl.Box>Returns bounding boxes of the found objects.
outClassIdsSystem.Collections.Generic.List<int>Returns ids of the found object classes.
outClassNamesSystem.Collections.Generic.List<string>Returns names of the found objects classes.
outScoresSystem.Collections.Generic.List<float>Returns scores of the found objects.
outMasksSystem.Collections.Generic.List<Avl.Region>Returns masks of the found objects.

See also