| layout | default-layout |
|---|---|
| title | Release Notes v11.x - Dynamsoft Barcode Reader SDK Python Edition |
| description | Release notes for DBR SDK Python Edition v11.x, highlighting AI-powered barcode detection models, ECI support, on-demand model loading, and performance improvements. |
| keywords | release notes, python |
| needGenerateH3Content | false |
- Updated third-party libraries to incorporate the latest security fixes.
- Fixed an issue where the SDK might attempt to load corrupted model resource files in rare cases.
-
PDF417 Localization Model – Introduces the [
PDF417Localization]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/localization-modes.html#modelnamearray) neural network model for improved detection of PDF417 barcodes, especially under challenging conditions. -
Code39/ITF Decoding Model – Adds the [
Code39ITFDecoder]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) model for enhanced decoding of Code 39 and ITF barcodes under blurred or low-resolution conditions. -
Deblur Models for 2D Barcodes – Adds the [
DataMatrixQRCodeDeblur]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) and [PDF417Deblur]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) models to provide more effective recovery from motion and focus blur for DataMatrix, QR Code, and PDF417 barcodes.
-
ECI Information Return – Adds support for retrieving Extended Channel Interpretation (ECI) data from barcodes. The new [
ECISegment]({{ site.dbr_python_api }}eci-segment.html) class, along with theget_eci_segments()method in the [BarcodeResultItem]({{ site.dbr_python_api }}barcode-result-item.html#get_eci_segments) and [DecodedBarcodeElement]({{ site.dbr_python_api }}decoded-barcode-element.html#get_eci_segments) classes, enables access to character encoding information embedded in barcodes. -
ECI-Based Text Interpretation – Adds support for interpreting ECI segments during barcode decoding, improving compatibility with international character sets.
-
On-Demand Model Loading – Implements lazy loading for AI models, reducing initialization time by loading models only when first needed.
-
Smart Model Selection – Models are now loaded based on configured barcode formats, minimizing memory usage by excluding unused models.
-
Improved Confidence Scoring – Enhances confidence score calculation for results from neural network models, providing more accurate quality indicators.
-
DPM Barcode Optimization – Improves recognition rate for Direct Part Marking (DPM) barcodes commonly used in industrial and manufacturing environments.
-
Added support for Python 3.14.
-
Added [
BarcodeZoneWidthToHeightRatioRangeArray]({{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html) parameter for filtering barcodes based on aspect ratio constraints. -
Added [
set_result_cross_verification_criteria()]({{ site.dcvb_python_api }}utility/multi-frame-result-cross-filter.html#set_result_cross_verification_criteria) and [get_result_cross_verification_criteria()]({{ site.dcvb_python_api }}utility/multi-frame-result-cross-filter.html#get_result_cross_verification_criteria) methods toMultiFrameResultCrossFilterfor configurable multi-frame result verification.
-
capture_multi_pagesnow returns results sorted by page number. -
Barcode text encoding fallback changed from UTF-8 to ISO-8859-1 when no ECI information is present in the barcode.
-
Updated default value of
compensationparameter in [ImageProcessor.convert_to_binary_local()]({{ site.dcvb_python_api }}utility/image-processor.html#convert_to_binary_local) from 0 to 10. -
[
convert_to_binary_global()]({{ site.dcvb_python_api }}utility/image-processor.html#convert_to_binary_global) and [convert_to_binary_local()]({{ site.dcvb_python_api }}utility/image-processor.html#convert_to_binary_local) ofImageProcessorclass now support color, binary and grayscale images as input.
- Improved license binding stability on macOS devices.
-
Removed
DataMatrixModuleIsotropicparameter – use [BarcodeZoneWidthToHeightRatioRangeArray]({{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html) instead. -
Removed
MinRatioOfBarcodeZoneWidthToHeightparameter – use [BarcodeZoneWidthToHeightRatioRangeArray]({{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html) instead.
-
Fixed incorrect coordinate in barcode result when using neural network models with a specified region.
-
Fixed crash and hang issues that could occur in certain scenarios.
-
Fixed various minor bugs and improved overall stability.
This release includes security maintenance updates to ensure continued protection of the product.
- Updated third-party libraries to incorporate the latest security fixes.
- Fixed memory leak, crash, and hang issues in various scenarios.
- Improved stability in multi-threading operations.
Version 11.2.1000 introduces a series of AI-driven improvements designed to enhance barcode detection accuracy, processing speed, and configuration flexibility.
This release focuses on practical performance gains for production environments across retail, logistics, and manufacturing workflows.
- New Localization Models – Introduces [
OneDLocalization]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/localization-modes.html#modelnamearray) and [DataMatrixQRCodeLocalization]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/localization-modes.html#modelnamearray) neural network models for improved detection of blurred / low-resolution 1D codes, or partially damaged DataMatrix/QR codes. - Specialized Decoders – Adds [
EAN13Decoder]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) and [Code128Decoder]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) models optimized for long-distance and motion-blurred decoding scenarios. - Redesigned Deblur Model – The [
OneDDeblur]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) model now provides more effective recovery from motion and focus blur. - Configurable Model Selection – The new
ModelNameArrayparameter supports flexible model loading and fine-grained control for specific barcode types.
- Enhanced Deblur Methods – [
DM_DEEP_ANALYSIS]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#dm_deep_analysis) now includes sub-level control withOneDGeneral,TwoDGeneral, andEAN13Enhancedoptions. - Barcode Count Expectation – The new [
ExpectedBarcodesCount]({{ site.dcvb_parameters_reference }}barcode-format-specification/expected-barcodes-count.html) parameter enables format-specific quantity control and early termination in fixed-count workflows. - Improved Region Detection – The new [
RPM_GRAY_CONSISTENCY]({{ site.dcvb_parameters_reference }}image-parameter/region-predetection-modes.html#rpm_gray_consistency) mode provides more precise region extraction based on grayscale uniformity and local consistency for document and label processing.
- Up to 26.5% higher read rates under blur conditions with as much as 44% faster processing.
- Reliable decoding of DataMatrix and QR codes with missing or damaged finder patterns.
- Extended operational range beyond 75 cm for long-distance barcode scanning.
- Backward Compatibility – Fully compatible with existing integrations; no code-level changes required for upgrade.
- Configuration Flexibility – Expanded parameter set allows comprehensive model configuration for scenario-specific tuning.
- Production Stability – All new models validated in enterprise environments.
- [
MaxThreadsInOneTask]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/max-threads-in-one-task.html): default changed from 4 → 0 (auto-detection). - [
IncludeTrailingCheckDigit]({{ site.dcvb_parameters_reference }}barcode-format-specification/include-trailing-check-digit.html): default changed from 1 → 0. Code128 results will no longer include the trailing check digit by default for improved compliance with standard decoding practices.
DeblurModelNameArrayargument of [DeblurModes]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html) → useModelNameArray.append_model_buffermethod ofCaptureVisionRouter→ use [append_dl_model_buffer]({{ site.dcvb_python_api }}capture-vision-router/auxiliary-methods.html#append_dl_model_buffer).
- Fixed an issue where accessing
Quadrilateral.pointsdirectly would return random values instead of the expected coordinate points.
start_capturingnow stops immediately and returns a license-related error code if none of the tasks have a valid license, instead of proceeding and returning an empty result.
- Fixed a bug that caused a crash when using a specific type of license.
- Fixed various minor bugs and improved overall stability.
-
Tile-Based TIFF Image Support: Added support for TIFF images with tile-based storage format.
-
Template Version Validation: Introduced version checking for templates to prevent compatibility issues and mismatches.
-
License Validation Behavior: Instead of stopping execution immediately on an invalid license module, the library now continues processing and returns results from modules with valid licenses. An error is still reported to indicate the license issue.
-
PDFR License Control Removal: Removed the license check for the PDFR module.
- Fixed an issue where the
get_detected_quad_result_itemsmethod ofProcessedDocumentResultreturned items of the wrong type. - Fixed various minor bugs and improved overall stability.
- Added support for appending pages to PDF files generated by
ImageIO.save_to_file. Appending to other PDF files is not supported. - Added new property [codewords]({{ site.dbr_python_api }}pdf417-details.html#codewords) to the
PDF417Detailsclass.
- Fixed an issue where calling
start_capturingorcapturewithtemplate_nameset to an empty string ("") would result in error-40103. - Resolved a performance issue that could cause unusually high CPU and memory usage in some cases.
- Removed the licensing requirement for saving PDFs.
-
Workflow Improvements
- Restructured the parameter control hierarchy at all levels for finer scope definition and more granular process management, with the stage level newly added.
- Enabled custom combinations and sequences of sections, increasing flexibility and operational customization under specific conditions.
-
Deep Learning Integration
- Improved the reading rate of 1D barcode by introducing a new deblurring deep-learning model.
-
Algorithm Enhancements
- Enabled deduplication at the Region of Interest (ROI) level to consolidate results from multiple tasks.
- Improved the CODE_128 and DataMatrix DeepAnalysis algorithms for better decoding accuracy and performance.
- Added support for new barcode types: CODE_32, MATRIX_25, KIX, and TELEPEN.
-
Engineering Optimizations
- Unified template-loading logic to reduce I/O overhead.
- Added support for capturing data from multi-page files, including PDF and TIFF formats.
- Implemented conversion functionality between
ImageDataand image files, including both on-disk and in-memory files.