You are here: Start » AVL.NET » AVL.DeepLearning_DetectAnomalies Method
AVL.DeepLearning_DetectAnomalies Method
Detects anomalies using trained deep-learning model.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void DeepLearning_DetectAnomalies( AvlNet.Image inImage, AvlNet.Region inRoi, string inDeepModel, out AvlNet.Image outHeatmap, out bool outIsValid, out float outScore, out bool outIsConfident, out AvlNet.Image outReconstructedImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inRoi | AvlNet.Region | Area of interest. Default value: atl::NIL, or null. | ||
![]() | inDeepModel | string | Trained model. | ||
![]() | outHeatmap | AvlNet.Image | Image contains heatmaps for each input image channel. | ||
![]() | outIsValid | bool | Returns true if anomaly was not found. | ||
![]() | outScore | float | Score of classification. | ||
![]() | outIsConfident | bool | Returns "false" if score is between T1 and T2. | ||
![]() | outReconstructedImage | AvlNet.Image | Returns network answer. |
Errors
| Error type | Description |
|---|---|
| DomainError | Empty ROI region in DeepLearning_DetectAnomalies |
| DomainError | Invalid DeepModel in DeepLearning_DetectAnomalies. |
| DomainError | Empty image in DeepLearning_DetectAnomalies. |
| IoError | Unable to connect to Deep Learning Service. Please check if service is up and running. |
| IoError | Connection with service lost. |
| IoError | Missing results count. |
| IoError | Invalid error count. |
| IoError | Missing result. |
| IoError | Missing heat map. |


