iDRS™ SDK 16
Loading...
Searching...
No Matches
OcrThreadingConfig Struct Reference

Defines how many threads OCR operations should use for processing. More...

#include <StructDefinitions_interface.h>

Public Attributes

IDRS_UINT uiImageOperationThreads
 Number of threads used by image operations.
 
IDRS_UINT uiSegmentationThreads
 Number of threads used by the segmentation algorithm.
 
IDRS_UINT uiOcrThreads
 Number of threads used by the OCR algorithms.
 

Detailed Description

Defines how many threads OCR operations should use for processing.

Member Data Documentation

◆ uiImageOperationThreads

IDRS_UINT uiImageOperationThreads

Number of threads used by image operations.

Best speed gain will be achieved with a thread count matching the number of performance cores of the device.

Activating image operation threading does not increase memory consumption.

◆ uiOcrThreads

IDRS_UINT uiOcrThreads

Number of threads used by the OCR algorithms.

Setting a number of threads at the maximum of the device capabilities will bring significant speed-up, however will also increase memory consumption proportionally to the number of threads.

◆ uiSegmentationThreads

IDRS_UINT uiSegmentationThreads

Number of threads used by the segmentation algorithm.

Allocating 2 threads for segmentation yields most of the performance gain, going up to 4 threads brings only slightly more speed-up. Allocating more than 4 threads is useless.

Activating segmentation threading has no significant impact on memory consumption.