Skip to main content

MdlocrFree

BoardSupported
Host SystemYes
V4L2Yes
Clarity UHDYes
Concord PoENo
GenTLYes
GevIQYes
GigE VisionYes
IndioNo
Iris GTXYes
Radient eV-CLYes
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionYes

Free a Deep Learning OCR object.

Syntax

void MdlocrFree(
AIL_ID DlocrId //in
)

Description

This function deletes the specified Deep Learning OCR context, Deep Learning OCR result buffer, or Deep Learning OCR dataset identifier, and releases any memory associated with it.

All Deep Learning OCR objects allocated on a particular system must be freed before the system can be freed, unless M_UNIQUE_ID was specified during allocation.

Parameters

DlocrId (in, AIL_ID)

Specifies the identifier of the Deep Learning OCR object to free. These must have been successfully allocated (with MdlocrAlloc, MdlocrAllocResult, or MdlocrAllocDataset) prior to calling this function.

Copyright © 2026 Zebra Technologies.