AvsFilter_DL_DetectAnomalies2


Header: AVL.h
Namespace: avl
Module: DL_DA

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

Syntax

void avl::AvsFilter_DL_DetectAnomalies2
(
	const avl::Image& inImage,
	const avl::DetectAnomalies2ModelId& inModelId,
	avl::Heatmap& outHeatmap,
	bool& outIsValid,
	float& outScore,
	bool& outIsConfident,
	atl::Conditional<avl::Region>& outRoi
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Input value inModelId const DetectAnomalies2ModelId& Identifier of a Detect Anomalies 2 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 float& Returns score of the image
Output value outIsConfident bool& Returns false if the score is between T1 and T2
Output value outRoi Conditional<Region>& ROI used in training

Requirements

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

Read more about pixel formats in Image documentation.

Hints

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

List of possible exceptions:

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

See Also