Skip to content

Commit fe9330a

Browse files
authored
Merge pull request #22 from ZoroWang/master
Update to 7.6
2 parents 78c8f0e + 2576f37 commit fe9330a

File tree

1 file changed

+52
-36
lines changed

1 file changed

+52
-36
lines changed

README.md

Lines changed: 52 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [Supported Python Version](#supported-python-version)
1414
- [Supported Platforms](#supported-platforms)
1515
- [Installation](#installation)
16+
- [License](#license)
1617
- [Supported Symbologies](#supported-symbologies)
1718
- [Release Notes](#release-notes)
1819
- [Interfaces](#interfaces)
@@ -26,16 +27,14 @@
2627
- [Contact Us](#contact-us)
2728

2829
### Version
29-
- **7.5**
30+
- **7.6**
3031

3132
### Supported Platforms
3233
- **Windows x64**
3334

34-
- **Linux**
35+
- **Linux(x64, ARM32, ARM64)**
3536

36-
- **Mac OS**
37-
38-
- **Raspberry Pi OS**
37+
- **macOS**
3938

4039
### Supported Python Versions
4140

@@ -49,6 +48,10 @@
4948

5049
>**pip install dbr**
5150
51+
### License
52+
53+
Apply for a trial license: https://www.dynamsoft.com/CustomerPortal/Portal/Triallicense.aspx
54+
5255
### Supported Symbologies
5356
*We support all major barcodes symbologies across a variety of industries such as government, finance, retail, warehouse inventory, and healthcare.*
5457

@@ -727,43 +730,45 @@ Describes the text result order mode.
727730

728731
***Attributes*** :
729732

730-
- data_type : The data type of the intermediate result
731-
- 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
732-
- result_type : Intermediate result type
733-
- barcode_complement_mode : The BarcodeComplementMode used when generating the current intermediate result
734-
- bcm_index : The list index of current used ColourClusteringMode in the ColourClusteringModes setting
735-
- deformation_resisting_mode : The DeformationResistingMode used when generating the current intermediate result
736-
- drm_index : The list index of current used DeformationResistingMode in the DeformationResistingModes setting
737-
- dpm_code_reading_mode : The DPMCodeReadingMode used when generating the current intermediate result
738-
- dpmcrm_index : The list index of current used DPMCodeReadingMode in the DPMCodeReadingModes setting
739-
- text_filter_mode : The TextFilterMode used when generating the current intermediate result
740-
- tfm_index : The list index of current used TextFilterMode in the TextFilterModes setting
741-
- localization_mode : The LocalizationMode used when generating the current intermediate result
742-
- lm_index : The list index of current used LocalizationMode in the LocalizationModes setting
743-
- binarization_mode : The BinarizationMode used when generating the current intermediate result
744-
- bm_index : The list index of current used BinarizationMode in the BinarizationModes setting
745-
- image_preprocessing_mode : The ImagePreprocessingMode used when generating the current intermediate result
746-
- ipm_index : The list index of current used ImagePreprocessingMode in the ImagePreprocessingModes setting
747-
- region_predetection_mode : The RegionPredetectionMode used when generating the current intermediate result
748-
- rpm_index : The list index of current used RegionPredetectionMode in the RegionPredetectionModes setting
749-
- grayscale_transformation_mode : The GrayscaleTransformationMode used when generating the current intermediate result
750-
- gtm_index : The list index of current used GrayscaleTransformationMode in the GrayscaleTransformationModes setting
751-
- colour_conversion_mode : The ColourConversionMode used when generating the current intermediate result
752-
- cicm_index : The list index of current used ColourConversionMode in the ColourConversionModes setting
753-
- colour_clustering_mode : The ColourClusteringMode used when generating the current intermediate result
754-
- ccm_index : The list index of current used ColourClusteringMode in the ColourClusteringModes setting
755-
- rotation_matrix : The rotation matrix
756-
- roi_id : The ID of the ROI (Region Of Interest) generated by the SDK. -1 means the original image.
757-
- scale_down_ratio : The scale down ratio
758-
- frame_id : The ID of the operated frame
733+
- data_type : The data type of the intermediate result
734+
- 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
735+
- result_type : Intermediate result type
736+
- barcode_complement_mode : The BarcodeComplementMode used when generating the current intermediate result
737+
- bcm_index : The list index of current used ColourClusteringMode in the ColourClusteringModes setting
738+
- deformation_resisting_mode : The DeformationResistingMode used when generating the current intermediate result
739+
- drm_index : The list index of current used DeformationResistingMode in the DeformationResistingModes setting
740+
- dpm_code_reading_mode : The DPMCodeReadingMode used when generating the current intermediate result
741+
- dpmcrm_index : The list index of current used DPMCodeReadingMode in the DPMCodeReadingModes setting
742+
- text_filter_mode : The TextFilterMode used when generating the current intermediate result
743+
- tfm_index : The list index of current used TextFilterMode in the TextFilterModes setting
744+
- localization_mode : The LocalizationMode used when generating the current intermediate result
745+
- lm_index : The list index of current used LocalizationMode in the LocalizationModes setting
746+
- binarization_mode : The BinarizationMode used when generating the current intermediate result
747+
- bm_index : The list index of current used BinarizationMode in the BinarizationModes setting
748+
- image_preprocessing_mode : The ImagePreprocessingMode used when generating the current intermediate result
749+
- ipm_index : The list index of current used ImagePreprocessingMode in the ImagePreprocessingModes setting
750+
- region_predetection_mode : The RegionPredetectionMode used when generating the current intermediate result
751+
- rpm_index : The list index of current used RegionPredetectionMode in the RegionPredetectionModes setting
752+
- grayscale_transformation_mode : The GrayscaleTransformationMode used when generating the current intermediate result
753+
- gtm_index : The list index of current used GrayscaleTransformationMode in the GrayscaleTransformationModes setting
754+
- colour_conversion_mode : The ColourConversionMode used when generating the current intermediate result
755+
- cicm_index : The list index of current used ColourConversionMode in the ColourConversionModes setting
756+
- colour_clustering_mode : The ColourClusteringMode used when generating the current intermediate result
757+
- ccm_index : The list index of current used ColourClusteringMode in the ColourClusteringModes setting
758+
- rotation_matrix : The rotation matrix
759+
- roi_id : The ID of the ROI (Region Of Interest) generated by the SDK. -1 means the original image.
760+
- scale_down_ratio : The scale down ratio
761+
- frame_id : The ID of the operated frame
762+
- rpm_colour_argument_index : The index of ForeAndBackgroundColour argument used for RegionPredetectionMode
759763

760764

761765
#### Exception Class Interface
762766
- **BarcodeReaderError**
763767

764768
#### Main Class Interface
765769
- **BarcodeReader** : Defines a class that provides functions for decoding barcodes in images. This is the main interface for recognizing barcodes.
766-
- ***Attributes*** :
770+
771+
- ***Attributes***:
767772

768773
- version : The Dynamsoft Barcode Reader - Python Edition version
769774
- dbr_version : The Dynamsoft Barcode Reader version
@@ -877,6 +882,17 @@ Describes the text result order mode.
877882
- @return text_results <list[class TextResult]> : All text results.
878883
- @exception BarcodeReaderError
879884

885+
- decode_buffer_manually(self, buffer, width, height, stride, image_pixel_format, template_name="")
886+
- @description Decodes barcodes from the memory buffer containing image pixels in defined format.
887+
- @param buffer <bytes or bytearray> : The array of bytes which contain the image data.
888+
- @param width <int> : The width of the image in pixels.
889+
- @param height <int> : The height of the image in pixels.
890+
- @param stride <int> : The stride (or scan width) of the image.
891+
- @param image_pixel_format <EnumImagePixelFormat> : The image pixel format used in the image byte array.
892+
- @param template_name(optional) <str> : The template name.
893+
- @return text_results <list[class TextResult]> : All text results.
894+
- @exception BarcodeReaderError : If error happens, this function will throw a BarcodeReaderError exception that can report the detailed error message.
895+
880896
- decode_file_stream(file_stream, template_name="")
881897
- @description Decodes barcodes from an image file in memory.
882898
- @param file_stream <bytearray> : The image file bytes in memory.
@@ -910,7 +926,7 @@ Describes the text result order mode.
910926
- get_length_of_frame_queue()
911927
- @description Gets current length of the inner frame queue.
912928
- @return frame_queue_length <int> : The length of the inner frame queue.
913-
```
929+
914930

915931
### Appendix
916932

0 commit comments

Comments
 (0)