Header: AVL.h
Namespace: avl
Module: DL_LO

Performs locating objects using a pretrained deep learning model.


void avl::AvsFilter_DL_LocateObjects
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	const avl::LocateObjectsModelId& inModelId,
	const float inMinDetectionScore,
	atl::Array<avl::ClassifiedRectangle>& outObjects


Name Type Default Description
Input value inImage const Image& Input image
Input value inRoi Optional<const Region&> NIL Limits the area where objects may be located
Input value inModelId const LocateObjectsModelId& Identifier of a Locate Objects model
Input value inMinDetectionScore const float 0.5f Sets a minimum required score for an object to be returned.
Output value outObjects Array<ClassifiedRectangle>&


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

Read more about pixel formats in Image documentation.


List of possible exceptions:

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