AvsFilter_DL_LocateText_Unload


Header: AVL.h
Namespace: avl
Module: DL_OCR

Unloads a deep learning model and frees allocated memory.

Syntax

void avl::AvsFilter_DL_LocateText_Unload
(
	const avl::LocateTextModelId& inModelId,
	const bool inLeaveForRedeploy
)

Parameters

Name Type Default Description
Input value inModelId const LocateTextModelId& Identifier of the deployed model
Input value inLeaveForRedeploy const bool True Do not unload the model completely to speed up redeploying the model in future. All allocated memory on device will be freed regardless, but it will not free allocated system memory.