You are here: Start » AVL.NET » AVL.DeepLearning_LocatePoints

AVL.DeepLearning_LocatePoints

Performs points localization using a trained deep-learning model.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DeepLearning_LocatePoints
(
	AvlNet.DeepLearningConnectionState ioState,
	AvlNet.Image inImage,
	string inDeepModel,
	float inMinDetectionScore,
	bool inOverlap,
	IList<AvlNet.Location> outLocations,
	IList<int> outClassIds,
	IList<string> outClassNames,
	IList<float> outScores
)

Parameters

Name Type Range Default Description
ioStateAvlNet.DeepLearningConnectionState
inImageAvlNet.ImageInput image.
inDeepModelstringTrained model.
inMinDetectionScorefloat<0.0f, 1.0f>0.5fMinimal score of found points. Default value: 0.5f.
inOverlapboolTrueAdd tiles overlapping to improve results quality. Default value: True.
outLocationsSystem.Collections.Generic.IList<AvlNet.Location>Locations of found points.
outClassIdsSystem.Collections.Generic.IList<int>Ids of found point classes.
outClassNamesSystem.Collections.Generic.IList<string>Names of found point classes.
outScoresSystem.Collections.Generic.IList<float>Scores of found points.

Errors

List of possible exceptions:

Error type Description
DomainError Empty image in DeepLearning_LocatePoints.
DomainError Empty ROI region in DeepLearning_LocatePoints
DomainError Invalid DeepModel in DeepLearning_LocatePoints.
DomainError Size of ROI differs from size of image in DeepLearning_LocatePoints
IoError Invalid service response - missing class id
IoError Invalid service response - missing class name
IoError Invalid service response - missing score

Function Overrides

See also