Release Notes - C/C++ 2.x
2.2.20 (09/29/2022)
New
- Added new methods
Renamed
- The following methods are renamed
- Renamed
DLR_OutputSettingsToFiletoDLR_OutputRuntimeSettingsToFile - Renamed
DLR_OutputSettingsToStringtoDLR_OutputRuntimeSettingsToString - Renamed
DLR_RecognizeByBuffertoDLR_RecognizeBuffer - Renamed
DLR_RecognizeByFiletoDLR_RecognizeFile
- Renamed
Removed
- The following methods are removed
DLR_InitLicense. The method is replaced byDC_InitLicenseunderDynamsoftCore.DLR_AppendSettingsFromStringDLR_AppendSettingsFromFileDLR_ClearAppendedSettingsDLR_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_UpdateRuntimeSettingsFromStringfor users to upload runtime settings from stringified JSON data. - Added a new method
DLR_OutputSettingsToStringfor users to output runtime settings to stringified JSON data. - Added a new method
DLR_RecognizeFileInMemoryto recognize from a file in the memory. - Added a new method
UpdateRuntimeSettingsFromStringfor users to upload runtime settings from stringified JSON data. - Added a new method
OutputSettingsToStringfor users to output runtime settings to stringified JSON data. - Added a new method
RecognizeFileInMemoryto recognize from a file in the memory. - Added modes parameter
CharacterNormalizationModesto normalize the text. The parameter is available under the following classes:LabelRecognizerParameterTextAreaLineSpecification
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
corelibrary. Migrated the core structs/classes from the LabelRecognizer library to thecorelibrary.
Changelog
New
- Added auto-deskew algorithm to improve the performance on recognizing the skewed characters.
- Added header file
DynamsoftCore.hto replace the header fileDynamsoftCommon.h. All the core structs/enums inDynamsoftLabelRecognizer.handDynamsoftCommon.hare migrated to the header fileDynamsoftCore.h. - Added struct
BarcodeResultArrayandBarcodeResultfor users to interact with Dynamsoft Barcode Reader SDK. - Added
DLR_RuntimeSettingspropertydictionaryPathanddictionaryCorrectionThresholdfor users to further improve the recognizing accuracy by referencing dictionary files. - Added struct
DLR_DictionaryCorrectionThreshold. - Added struct
DLR_FurtherModesand propertyDLR_RuntimeSettings.furtherModesfor users to config more processing modes. - Added enumeration
TextureDetectionModeand propertyDLR_FurtherModes.textureDetectionModesfor users to detect and remove the texture background. - Added enumeration
ColourConversionModeand propertyDLR_FurtherModes.colourConversionModesfor users to convert color images to grayscale images in differenct ways. - Added enumeration
BinarizationModeand propertyDLR_RuntimeSettings.binarizationModesfor users to convert grayscale images to binary images in different ways. - Added enumeration
GrayscaleEnhancementModeand propertyDLR_FurtherModes.grayscaleEnhancementModesfor users to enable grayscale images preprocessing. - Added
charaterHConfidence,charaterMConfidenceandcharaterLConfidenceproperties inDLRCharacterResultstruct 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
UpdateReferenceRegionFromBarcodeResultsfromTextResultArraytoBarcodeResultArray. - Modified the parameters
LabelRecognizerParameter.LetterHeightRangeandTextArea.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
CLabelRecognitiontoCLabelRecognizer. - Renamed function
DLR_GetAllDLRResultstoDLR_GetAllResults. - Renamed function
DLR_FreeDLRResultstoDLR_FreeResults. - Renamed method
GetAllDLRResultstoGetAllResults. - Renamed method
FreeDLRResultstoFreeResults. - Renamed enum
DLRLocalizationSourceTypetoLocalizationSourceType. - Renamed struct
DLRReferenceRegiontoDLR_ReferenceRegion. - Renamed struct
DLRRuntimeSettingstoDLR_RuntimeSettings. - Renamed struct
DLRCharacterResulttoDLR_CharacterResult. - Renamed struct
DLRLineResulttoDLR_LineResult. - Renamed struct
DLRResulttoDLR_Result. - Renamed struct
DLRResultArraytoDLR_ResultArray. - Removed function
DLR_InitLicenseFromLTS. - Removed function
DLR_InitLTSConnectionParameters. - Removed struct
DM_LTSConnectionParameters.