Need better scanning performance?
MaxParallelTasks
Parameter MaxParallelTasks defines the maximum number of parallel tasks for the DCV runtime.
JSON Structure
Location in template:
CaptureVisionTemplates[i]
└── MaxParallelTasks
Parent object: CaptureVisionTemplate object
Example:
{
"MaxParallelTasks":4
}
- This snippet shows only the
MaxParallelTasksparameter.- To use it, embed this parameter within a CaptureVisionTemplate object.
- For the complete JSON structure, see:
Parameter Details
| MaxParallelTasks Parameter Details |
|---|
| Type int |
| Range -1, 0, [1, 256] |
| Default Value 4 |
| Remarks Controls the total number of concurrent thread slots used by the CVR thread pool. |
Behavior
- Each DLR/DDN task occupies one thread slot.
- For DBR tasks, each localization work and each decoding work occupies one thread slot.
- When
MaxParallelTasks <= 1, DBR runs in single-threaded mode.
In single-threaded mode for DBR, processing is executed in sequence:
- Complete one
LocalizationModeand produce localized barcode regions. - Apply all configured
DeblurModes to each localized barcode region. - Continue with the next
LocalizationMode.
Remarks
- Updated semantic definition from “maximum parallel tasks” to “maximum concurrent thread slots in the CVR thread pool” in version 3.6.1000.