You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
ioState | AvlNet.DeepLearningConnectionState | ||||
inImage | AvlNet.Image | Input image. | |||
inDeepModel | string | Trained model. | |||
inMinDetectionScore | float | <0.0f, 1.0f> | 0.5f | Minimal score of found points. Default value: 0.5f. | |
inOverlap | bool | True | Add tiles overlapping to improve results quality. Default value: True. | ||
outLocations | System.Collections.Generic.IList<AvlNet.Location> | Locations of found points. | |||
outClassIds | System.Collections.Generic.IList<int> | Ids of found point classes. | |||
outClassNames | System.Collections.Generic.IList<string> | Names of found point classes. | |||
outScores | System.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 |