Skip to content

Commit 96b0375

Browse files
committed
update to 7.4
1 parent 29c4803 commit 96b0375

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

README.md

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626

2727

2828
### Version
29-
- **7.3**
30-
> Version 7.3 marks the initial release of Dynamsoft Barcode Reader Python SDK. This release is not compatible with previous versions and will require code changes in your application.
29+
- **7.4**
3130

3231
### Supported Platforms
3332
- **Windows x64**
@@ -90,28 +89,8 @@
9089
- UK Royal Mail
9190

9291
### Release Notes
93-
All that is new and improved
94-
>1. In version 7.3, we made significant changes to the packaging structure of the Python SDK. We added the Python layer based on the previous CPython layer encapsulation. Now the Python layer is the interface layer, which is responsible for direct interaction with developers. The CPython layer is the middle payer, which is responsible for the transformation between the C interface and the Python interface.
9592

96-
>2. The Python layer now makes full use of Python's object-oriented features. It encapsulates enumerations, structures, methods, and also optimizes exception throwing and handling.
97-
98-
>3. Added new samples to help you get started with our Python SDK.
99-
100-
>4. The Python SDK can now support Postal Codes including USPS Intelligent Mail, Postnet, Planet, Australia Post barcode, RM4SCC.
101-
102-
>5. Added a new localization mode LM_STATISTICS_POSTAL_CODE in the struct PublicRuntimeSettings -> LocalizationModes to recognize Postal Codes.
103-
104-
>6. Implemented the ability to recognize distorted QR codes. It can be can be controlled via the struct PublicRuntimeSettings -> deformation_resisting_modes.
105-
106-
>7. Implemented the ability to complement missing parts of QR and Datamatrix codes. It can be enabled by turning on the struct PublicRuntimeSettings -> barcode_complement_modes.
107-
108-
>8. Added a new setting ScaleUpModes to set the scale-up mode for linear barcodes with small module size. It can be controlled via the struct PublicRuntimeSettings -> scale_up_modes.
109-
110-
>9. Obtain accompanying texts that appear above or below a linear barcode. This feature can now be enabled by turning on the struct PublicRuntimeSettings -> accompanying_text_recognition_modes.
111-
112-
>10. Improved the decoding accuracy for DataMatrix that has a narrow quiet zone.
113-
114-
>11. Improved the decoding accuracy for 1D barcode that has a small module size.
93+
https://www.dynamsoft.com/Products/Dynamic-Barcode-Reader-News.aspx
11594

11695
### Interfaces
11796

@@ -174,6 +153,7 @@ All that is new and improved
174153
- BF2_PLANET : Planet
175154
- BF2_AUSTRALIANPOST : Australian Post
176155
- BF2_RM4SCC : Royal Mail 4-State Customer Barcode
156+
- BF2_DOTCODE : DotCode
177157
- **EnumBinarizationMode** : Describes the binarization mode.
178158
- BM_AUTO : Not supported yet.
179159
- BM_LOCAL_BLOCK : Binarizes the image based on the local block.
@@ -206,25 +186,30 @@ All that is new and improved
206186
- IPF_BINARYINVERTED : 0:White, 1:Black
207187
- IPF_GRAYSCALED : 8bit gray
208188
- IPF_NV21 : NV21
209-
- IPF_RGB_565 : 16bit
210-
- IPF_RGB_555 : 16bit
211-
- IPF_RGB_888 : 24bit
212-
- IPF_ARGB_8888 : 32bit
213-
- IPF_RGB_161616 : 48bit
214-
- IPF_ARGB_16161616 : 64bit
189+
- IPF_RGB_565 : 16bit with RGB channel order stored in memory from high to low address
190+
- IPF_RGB_555 : 16bit with RGB channel order stored in memory from high to low address
191+
- IPF_RGB_888 : 24bit with RGB channel order stored in memory from high to low address
192+
- IPF_ARGB_8888 : 32bit with ARGB channel order stored in memory from high to low address
193+
- IPF_RGB_161616 : 48bit with RGB channel order stored in memory from high to low address
194+
- IPF_ARGB_16161616 : 64bit with ARGB channel order stored in memory from high to low address
195+
- IPF_ABGR_8888 : 32bit with ABGR channel order stored in memory from high to low address
196+
- IPF_ABGR_16161616 : 64bit with ABGR channel order stored in memory from high to low address
197+
- IPF_BGR_888 : 24bit with BGR channel order stored in memory from high to low address
215198
- **EnumImagePreprocessingMode** : Describes the image preprocessing mode.
216199
- IPM_AUTO : Not supported yet.
217200
- IPM_GENERAL : Takes the unpreprocessed image for following operations.
218201
- IPM_GRAY_EQUALIZE : Preprocesses the image using the gray equalization algorithm.
219202
- IPM_GRAY_SMOOTH : Preprocesses the image using the gray smoothing algorithm.
220203
- IPM_SHARPEN_SMOOTH : Preprocesses the image using the sharpening and smoothing algorithm.
204+
- IPM_MORPHOLOGY : Preprocesses the image using the morphology algorithm.
221205
- IPM_SKIP : Skips image preprocessing.
222206
- **EnumIMResultDataType** : Describes the intermediate result data type.
223207
- IMRDT_IMAGE : Specifies the ImageData
224208
- IMRDT_CONTOUR : Specifies the Contour
225209
- IMRDT_LINESEGMENT : Specifies the LineSegment
226210
- IMRDT_LOCALIZATIONRESULT : Specifies the LocalizationResult
227211
- IMRDT_REGIONOFINTEREST : Specifies the RegionOfInterest
212+
- IMRDT_QUADRILATERAL : Specifies the Quadrilateral
228213
- **EnumIntermediateResultSavingMode** : Describes the intermediate result saving mode.
229214
- IRSM_MEMORY : Saves intermediate results in memory.
230215
- IRSM_FILESYSTEM : Saves intermediate results in file system.
@@ -244,6 +229,7 @@ All that is new and improved
244229
- IRT_FORM : Form. Not supported yet.
245230
- IRT_SEGMENTATION_BLOCK : Segmentation block. Not supported yet.
246231
- IRT_TYPED_BARCODE_ZONE : Typed barcode zone
232+
- IRT_PREDETECTED_QUADRILATERAL : Predetected quadrilateral
247233
- **EnumLocalizationMode** : Describes the localization mode.
248234
- LM_AUTO : Not supported yet.
249235
- LM_CONNECTED_BLOCKS : Localizes barcodes by searching for connected blocks. This algorithm usually gives best result and it is recommended to set ConnectedBlocks to the highest priority.
@@ -303,6 +289,14 @@ All that is new and improved
303289
- TDM_AUTO : Not supported yet.
304290
- TDM_GENERAL_WIDTH_CONCENTRATION : Detects texture using the general algorithm.
305291
- TDM_SKIP : Skips texture detection.
292+
- **EnumClarityCalculationMethod** : Describes the clarity calculation method.
293+
- ECCM_CONTRAST : Calculates clarity using the contrast method.
294+
- **EnumClarityFilterMode** : Describes the clarity filter mode.
295+
- CFM_GENERAL : The frames using the general algorithm based on calculated clarity.
296+
- **EnumPDFReadingMode** : Describes the clarity filter mode.
297+
- PDFRM_AUTO : Lets the library choose the reading mode automatically.
298+
- PDFRM_VECTOR : Detects barcode from vector data in PDF file.
299+
- PDFRM_RASTER : Converts the PDF file to image(s) first, then perform barcode recognition.
306300

307301

308302
#### Struct Interfaces
@@ -332,6 +326,8 @@ All that is new and improved
332326
- threshold : The threshold used for filtering frames.
333327
- fps : The frequency of calling AppendFrame() per second.
334328
- auto_filter : Sets whether to filter frames automatically.
329+
- clarity_calculation_method : Sets the method used for calculating the clarity of the frames.
330+
- clarity_filter_mode : Sets the mode used for filtering frames by calculated clarity.
335331

336332

337333
- **PublicRuntimeSetting** : Defines a struct to configure the barcode reading runtime settings. These settings control the barcode recognition process such as which barcode types to decode.
@@ -374,6 +370,7 @@ All that is new and improved
374370
- region_measured_by_percentage : Sets whether or not to use percentage to measure the region size.
375371
- min_barcode_text_length : Sets the range of barcode text length for barcodes search.
376372
- min_result_confidence : The minimum confidence of the result.
373+
- pdf_reading_mode : Sets the way to detect barcodes from a PDF file when using the DecodeFile method.
377374

378375

379376
- **OnedDetailedResult** : Stores the OneD code details.
@@ -515,12 +512,16 @@ All that is new and improved
515512
- width : The width of the region
516513
- height : The height of the region
517514

515+
- **Quadrilateral** : Stores the quadrilateral.
516+
- ***Attributes*** :
517+
518+
- points : Four vertexes in a clockwise direction of a quadrilateral. Index 0 represents the left-most vertex.
518519

519520
- **IntermediateResult** : Stores the intermediate result.
520521
- ***Attributes*** :
521522

522523
- data_type : The data type of the intermediate result
523-
- results : One of the following types: List of class Contour, List of class ImageData, List of class LineSegment, List of class LocalizationResult, List of class RegionOfInterest
524+
- results : One of the following types: List of class Contour, List of class ImageData, List of class LineSegment, List of class LocalizationResult, List of class RegionOfInterest, List of class Quadrilateral
524525
- result_type : Intermediate result type
525526
- barcode_complement_mode : The BarcodeComplementMode used when generating the current intermediate result
526527
- bcm_index : The list index of current used ColourClusteringMode in the ColourClusteringModes setting

0 commit comments

Comments
 (0)