DL_DetectAnomalies1


Module: DL_DA

Executes a Detect Anomalies 1 model on a single input image.

Name Type Range Description
Input value inImage Image Input image
Input value inModelId DetectAnomalies1ModelId Identifier of a Detect Anomalies 1 model
Input value inReconstruct Bool Enables computing a reconstructed image, which may extend execution time
Input value inScoreScale Real 0.5 - 1.5 Scale factor for T1 and T2 (default value results in usage of T1 and T2 from model)
Output value outHeatmap Heatmap Returns a heatmap indicating found anomalies
Output value outIsValid Bool Returns true if no anomalies were found
Output value outScore Real Returns score of the image
Output value outIsConfident Bool Returns false if the score is between T1 and T2 (inclusive)
Output value outT1 Real Returns T1 'Good' threshold value
Output value outT2 Real Returns T2 'Bad' threshold value
Output value outReconstructedImage Image Returns the reconstructed image

Requirements

For input inImage only pixel formats are supported: 1⨯uint8, 3⨯uint8.

Read more about pixel formats in Image documentation.

Hints

  • It is recommended that the deep learning model is deployed with DL_DetectAnomalies1_Deploy first and connected through the inModelId input.
  • If one decides not to use DL_DetectAnomalies1_Deploy, then the model will be loaded in the first iteration. It will take up to several seconds.

Remarks

This filter should not be executed along with running Deep Learning Service as it may result in degraded performance or even out-of-memory errors.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not supported inImage pixel format in AvsFilter_DL_DetectAnomalies1. Supported formats: 1xUInt8, 3xUInt8.

Complexity Level

This filter is available on Basic Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Aurora Vision Studio Professional version.

See Also