Skip to main content

MdlocrAddImageToDataset

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

Add an image and read results to a Deep Learning OCR dataset.

Syntax

void MdlocrAddImageToDataset(
AIL_ID DlocrReadResultId, //in
AIL_ID DlocrDatasetId, //out
AIL_INT64 ControlFlag //in
)

Description

This function adds an image and selected results from a Deep Learning OCR read result buffer to a Deep Learning OCR dataset. If required, you can delete the most recently added dataset entry, using MdlocrDeleteLastImageFromDataset.

Parameters

DlocrReadResultId (in, AIL_ID)

Specifies the identifier of the source Deep Learning OCR read result buffer from which to get the image and results.

DlocrDatasetId (out, AIL_ID)

Specifies the identifier of the destination Deep Learning OCR dataset in which to add the image and results.

ControlFlag (in, AIL_INT64)

Reserved for future expansion and must be set to M_DEFAULT.

Copyright © 2026 Zebra Technologies.