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

Internal structure defining threading configuration parameters. More...

#include <StructDefinitions_interface.h>

Public Attributes

IDRS_UINT uiImageOperationThreads
 Number of threads used by image operations.
 
IDRS_UINT uiAnalysisThreads
 Number of threads used by the language/orientation detection algorithm.
 

Detailed Description

Internal structure defining threading configuration parameters.

Defaults each member to 1. Used internally to control per-operation thread usage.

Member Data Documentation

◆ uiAnalysisThreads

IDRS_UINT uiAnalysisThreads

Number of threads used by the language/orientation detection algorithm.

Allocating 2 threads for analysis 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 analysis threading has no significant impact on memory consumption.

◆ 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.