|
13 | 13 | - [Supported Python Version](#supported-python-version) |
14 | 14 | - [Supported Platforms](#supported-platforms) |
15 | 15 | - [Installation](#installation) |
| 16 | +- [License](#license) |
16 | 17 | - [Supported Symbologies](#supported-symbologies) |
17 | 18 | - [Release Notes](#release-notes) |
18 | 19 | - [Interfaces](#interfaces) |
|
26 | 27 | - [Contact Us](#contact-us) |
27 | 28 |
|
28 | 29 | ### Version |
29 | | -- **7.5** |
| 30 | +- **7.6** |
30 | 31 |
|
31 | 32 | ### Supported Platforms |
32 | 33 | - **Windows x64** |
33 | 34 |
|
34 | | -- **Linux** |
| 35 | +- **Linux(x64, ARM32, ARM64)** |
35 | 36 |
|
36 | | -- **Mac OS** |
37 | | - |
38 | | -- **Raspberry Pi OS** |
| 37 | +- **macOS** |
39 | 38 |
|
40 | 39 | ### Supported Python Versions |
41 | 40 |
|
|
49 | 48 |
|
50 | 49 | >**pip install dbr** |
51 | 50 |
|
| 51 | +### License |
| 52 | + |
| 53 | +Apply for a trial license: https://www.dynamsoft.com/CustomerPortal/Portal/Triallicense.aspx |
| 54 | + |
52 | 55 | ### Supported Symbologies |
53 | 56 | *We support all major barcodes symbologies across a variety of industries such as government, finance, retail, warehouse inventory, and healthcare.* |
54 | 57 |
|
@@ -727,43 +730,45 @@ Describes the text result order mode. |
727 | 730 |
|
728 | 731 | ***Attributes*** : |
729 | 732 |
|
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 |
759 | 763 |
|
760 | 764 |
|
761 | 765 | #### Exception Class Interface |
762 | 766 | - **BarcodeReaderError** |
763 | 767 |
|
764 | 768 | #### Main Class Interface |
765 | 769 | - **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***: |
767 | 772 |
|
768 | 773 | - version : The Dynamsoft Barcode Reader - Python Edition version |
769 | 774 | - dbr_version : The Dynamsoft Barcode Reader version |
@@ -877,6 +882,17 @@ Describes the text result order mode. |
877 | 882 | - @return text_results <list[class TextResult]> : All text results. |
878 | 883 | - @exception BarcodeReaderError |
879 | 884 |
|
| 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 | + |
880 | 896 | - decode_file_stream(file_stream, template_name="") |
881 | 897 | - @description Decodes barcodes from an image file in memory. |
882 | 898 | - @param file_stream <bytearray> : The image file bytes in memory. |
@@ -910,7 +926,7 @@ Describes the text result order mode. |
910 | 926 | - get_length_of_frame_queue() |
911 | 927 | - @description Gets current length of the inner frame queue. |
912 | 928 | - @return frame_queue_length <int> : The length of the inner frame queue. |
913 | | - ``` |
| 929 | + |
914 | 930 |
|
915 | 931 | ### Appendix |
916 | 932 |
|
|
0 commit comments