Release Notes - C/C++ 2.x
2.2.20 (09/29/2022)
New
- Added new methods
Renamed
- The following methods are renamed
- Renamed
DLR_OutputSettingsToFile
toDLR_OutputRuntimeSettingsToFile
- Renamed
DLR_OutputSettingsToString
toDLR_OutputRuntimeSettingsToString
- Renamed
DLR_RecognizeByBuffer
toDLR_RecognizeBuffer
- Renamed
DLR_RecognizeByFile
toDLR_RecognizeFile
- Renamed
Removed
- The following methods are removed
DLR_InitLicense
. The method is replaced byDC_InitLicense
underDynamsoftCore
.DLR_AppendSettingsFromString
DLR_AppendSettingsFromFile
DLR_ClearAppendedSettings
DLR_UpdateRuntimeSettingsFromString
2.2.10 (06/21/2022)
Changelog
- Reduced the size of MRZ model from 10MB to 2.56MB.
- Improved single-line text confidence. This enables users to implement a result confidence filter to improve the recognition accuracy.
- Improved character segmentation when processing some connected characters. This improves the recognition accuracy.
2.2.2 (03/03/2022)
Changelog
Fixed
- Fixed a bug that might cause incorrect regular expression matching.
- Fixed a bug that might output incorrect MRZ results.
2.2 (11/30/2021)
Highlights
-
Improved the performance of the MRZ scenario. The recognition speed is improved by about 70%.
-
Added character normalization modes to normalize the text. This feature will improve the read rate when processing the text in nonstandard fonts like dot matrix.
-
New parameter control and recognition methods are added to fit more usage scenarios.
Changelog
New
- Added a new method
DLR_UpdateRuntimeSettingsFromString
for users to upload runtime settings from stringified JSON data. - Added a new method
DLR_OutputSettingsToString
for users to output runtime settings to stringified JSON data. - Added a new method
DLR_RecognizeFileInMemory
to recognize from a file in the memory. - Added a new method
UpdateRuntimeSettingsFromString
for users to upload runtime settings from stringified JSON data. - Added a new method
OutputSettingsToString
for users to output runtime settings to stringified JSON data. - Added a new method
RecognizeFileInMemory
to recognize from a file in the memory. - Added modes parameter
CharacterNormalizationModes
to normalize the text. The parameter is available under the following classes:LabelRecognizerParameter
TextArea
LineSpecification
2.0 (08/26/2021)
Highlights
- Added image processing modes to enhance the usage scenarios like MRZ reading:
- Texture area detection
- Color Conversion
- Binarization
- Grayscale image processing
-
Added dictionary-based correction. The dictionary is minimal and customizable to only cover a scenario-oriented vocabulary.
-
Improved the overall performance by replacing Caffe engine with OpenCV dnn engine
-
Improved the readability of recognizing skewed characters.
-
Improved the MRZ reading performance.
- Added a
core
library. Migrated the core structs/classes from the LabelRecognizer library to thecore
library.
Changelog
New
- Added auto-deskew algorithm to improve the performance on recognizing the skewed characters.
- Added header file
DynamsoftCore.h
to replace the header fileDynamsoftCommon.h
. All the core structs/enums inDynamsoftLabelRecognizer.h
andDynamsoftCommon.h
are migrated to the header fileDynamsoftCore.h
. - Added struct
BarcodeResultArray
andBarcodeResult
for users to interact with Dynamsoft Barcode Reader SDK. - Added
DLR_RuntimeSettings
propertydictionaryPath
anddictionaryCorrectionThreshold
for users to further improve the recognizing accuracy by referencing dictionary files. - Added struct
DLR_DictionaryCorrectionThreshold
. - Added struct
DLR_FurtherModes
and propertyDLR_RuntimeSettings.furtherModes
for users to config more processing modes. - Added enumeration
TextureDetectionMode
and propertyDLR_FurtherModes.textureDetectionModes
for users to detect and remove the texture background. - Added enumeration
ColourConversionMode
and propertyDLR_FurtherModes.colourConversionModes
for users to convert color images to grayscale images in differenct ways. - Added enumeration
BinarizationMode
and propertyDLR_RuntimeSettings.binarizationModes
for users to convert grayscale images to binary images in different ways. - Added enumeration
GrayscaleEnhancementMode
and propertyDLR_FurtherModes.grayscaleEnhancementModes
for users to enable grayscale images preprocessing. - Added
charaterHConfidence
,charaterMConfidence
andcharaterLConfidence
properties inDLRCharacterResult
struct so that more alternative results will be available for users.
Improved
- Improved the neural network performance by replacing Caffe engine with OpenCV DNN engine.
Fixed
- Fixed a bug that might cause wrong line number matching when using
LineSpecification.LineNumber
.
API Changes
- Modified the function
DLR_InitLicense(void*, const char*)
toDLR_InitLicense(const char*,char errorMsgBuffer[], const int errorMsgBufferLen)
(C). - Modified the method
InitLicense(const char*)
to staticInitLicense(const char*,char errorMsgBuffer[] = NULL, const int errorMsgBufferLen = 0)
(C++). - Modified the first parameter type of the method
UpdateReferenceRegionFromBarcodeResults
fromTextResultArray
toBarcodeResultArray
. - Modified the parameters
LabelRecognizerParameter.LetterHeightRange
andTextArea.LetterHeightRange
. The value unit of the parameters are modified from percentage to thousandth. The available range of the value and the default value are updated as well. - Renamed class
CLabelRecognition
toCLabelRecognizer
. - Renamed function
DLR_GetAllDLRResults
toDLR_GetAllResults
. - Renamed function
DLR_FreeDLRResults
toDLR_FreeResults
. - Renamed method
GetAllDLRResults
toGetAllResults
. - Renamed method
FreeDLRResults
toFreeResults
. - Renamed enum
DLRLocalizationSourceType
toLocalizationSourceType
. - Renamed struct
DLRReferenceRegion
toDLR_ReferenceRegion
. - Renamed struct
DLRRuntimeSettings
toDLR_RuntimeSettings
. - Renamed struct
DLRCharacterResult
toDLR_CharacterResult
. - Renamed struct
DLRLineResult
toDLR_LineResult
. - Renamed struct
DLRResult
toDLR_Result
. - Renamed struct
DLRResultArray
toDLR_ResultArray
. - Removed function
DLR_InitLicenseFromLTS
. - Removed function
DLR_InitLTSConnectionParameters
. - Removed struct
DM_LTSConnectionParameters
.