Released: Jul 15, 2021
8.6.0 中的更新
特性
Java, C, Android, Apple iOS, Microsoft .NET, C++ and Python SDK
- Added two DeblurMode enumerations, DM_BASED_ON_LOC_BIN and DM_SHARPENING_SMOOTHING, to support more usage scenarios.
- Improved the confidence algorithm for 1D barcode results. Users can get even more accurate results by configuring the confidence filter.
C, C++, Python, .NET, and Java SDK
- Improved the confidence calculating algorithm for 1D barcodes. Misreading rate of results with confidence between 30-100 has been significantly reduced.
- Improved the reading speed on clear images by implementing a new deblur mode.
Java, Android, .NET and Python SDK
- Added class DMDLSConnectionParameters to replace class DMLTSConnectionParameters.
Android and iOS SDK
- Added more samples.
- Added new API: enableResultVerification. Barcode decoding results are verified before output if this feature is enabled. This improves barcode scanning accuracy.
- Added new API: enableDuplicateFilter. Barcode decoding results are filtered before output if this feature is enabled. Duplicated results will be output only once every three seconds.
Java SDK
- Added initLicenseFromDLS and initDLSConnectionParameters in BarcodeReader class to replace initLicenseFromLTS and initLTSConnectionParameters.
C SDK
- Added method DBR_InitLicenseFromDLS to replace DBR_InitLicenseFromLTS.
- Added struct DM_DLSConnectionParameters to replace struct DM_LTSConnectionParameters.
Android SDK
- Added interface DBRDLSLicenseVerificationListener and callback DLSLicenseVerificationCallback to replace DBRLTSLicenseVerificationListener and LTSLicenseVerificationCallback.
iOS SDK
- Added interface DBRDLSLicenseVerificationListener and callback DLSLicenseVerificationCallback to replace DBRLTSLicenseVerificationListener and LTSLicenseVerificationCallback.
- Added class iDMDLSConnectionParameters to replace class iDMLTSConnectionParameters.
- Added delegate DMDLSLicenseVerificationDelegate and callback DLSLicenseVerificationCallback to replace DMLTSLicenseVerificationDelegate and LTSLicenseVerificationCallback.
.NET SDK
- Added methods InitDLSConnectionParameters and InitLicenseFromDLS in BarcodeReader class to replace methods InitLTSConnectionParameters and InitLicenseFromLTS.
C++ SDK
- Added methods InitDLSConnectionParameters and InitLicenseFromDLS in CBarcodeReader class to replace methods InitLTSConnectionParameters and InitLicenseFromLTS.
- Added class DM_DLSConnectionParameters to replace class DM_LTSConnectionParameters.
Python SDK
- Added methods init_license_from_dls and init_dls_connection_parameters in BarcodeReader class to replace init_license_from_lts and init_lts_connection_parameters.
JavaScript SDK
- Added new isWasmLoaded() method which returns whether the engine file has been loaded.
- Added new isContextDestroyed() method which returns whether a BarcodeReader or BarcodeScanner instance has been destroyed.
- Added new getOriginalImageInACanvas() method which returns the actual image the engine tried to read barcodes from.
- Added new destroyContext() method which destroys the BarcodeReader or BarcodeScanner instance itself.
- Added new ifSaveOriginalImageInACanvas property which controls whether the actual image to read is saved for debugging.
- Added new whenToPlaySoundforSuccessfulRead property which controls when the beep sound should be played.
- Added new whenToVibrateforSuccessfulRead property which controls when the device should vibrate.
- Improved frame fetching so that more frames are read for the same time period.
- Improved camera selecting so that the initial camera used is the main camera.
- Improved result filtering so that misread 1D barcodes are not returned.
- Improved WebGL implementation so that much less time is required for image preprocessing.
- Changed the default engine from the compact engine to the full-featured engine.
- The method destroy() has been deprecated, Use the method destroyContext() instead.
- The property isLoaded has been deprecated. Use the method isWasmLoaded() instead.
- The property bDestroyed has been deprecated. Use the method isContextDestroyed() instead.
- The property oriCanvas has been deprecated. Use the method getOriginalImageInACanvas() instead.
- The property bVibrateOnSuccessfulRead has been deprecated. Use whenToVibrateforSuccessfulRead instead.
- The property bPlaySoundOnSuccessfulRead has been deprecated. Use whenToPlaySoundforSuccessfulRead instead.
- The property bSaveOriCanvas has been deprecated. Use ifSaveOriginalImageInACanvas instead.
修补程序
iOS SDK
- Fixed a bug that licenseVerificationCallback not triggered.