You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-30Lines changed: 31 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,7 @@
26
26
27
27
28
28
### 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**
31
30
32
31
### Supported Platforms
33
32
-**Windows x64**
@@ -90,28 +89,8 @@
90
89
- UK Royal Mail
91
90
92
91
### 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.
95
92
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.
-**EnumLocalizationMode** : Describes the localization mode.
248
234
- LM_AUTO : Not supported yet.
249
235
- 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
303
289
- TDM_AUTO : Not supported yet.
304
290
- TDM_GENERAL_WIDTH_CONCENTRATION : Detects texture using the general algorithm.
305
291
- 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.
306
300
307
301
308
302
#### Struct Interfaces
@@ -332,6 +326,8 @@ All that is new and improved
332
326
- threshold : The threshold used for filtering frames.
333
327
- fps : The frequency of calling AppendFrame() per second.
334
328
- 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.
335
331
336
332
337
333
-**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
374
370
- region_measured_by_percentage : Sets whether or not to use percentage to measure the region size.
375
371
- min_barcode_text_length : Sets the range of barcode text length for barcodes search.
376
372
- 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.
377
374
378
375
379
376
-**OnedDetailedResult** : Stores the OneD code details.
@@ -515,12 +512,16 @@ All that is new and improved
515
512
- width : The width of the region
516
513
- height : The height of the region
517
514
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.
518
519
519
520
-**IntermediateResult** : Stores the intermediate result.
520
521
- ***Attributes*** :
521
522
522
523
- 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
524
525
- result_type : Intermediate result type
525
526
- barcode_complement_mode : The BarcodeComplementMode used when generating the current intermediate result
526
527
- bcm_index : The list index of current used ColourClusteringMode in the ColourClusteringModes setting
0 commit comments