1- __version__ = "11.0.10.9020 "
1+ __version__ = "11.0.20.9040 "
22
33if __package__ or "." in __name__ :
44 from .core import *
@@ -157,7 +157,7 @@ class SimplifiedBarcodeReaderSettings:
157157 Set expected_barcodes_count to 0 if the barcode count is unknown. The library will try to find at least 1 barcode.
158158 Set expected_barcodes_count to 1 to reach the highest speed for processing single barcode.
159159 Set expected_barcodes_count to "n" if there will be "n" barcodes to process from an image.
160- Set expected_barcodes_count to the highest expected value if there exists multiple barcode but the exact count is not confirmed.
160+ Set expected_barcodes_count to the highest expected value if there exists multiple barcode but the exact count is not confirmed.
161161 """ ,
162162 )
163163
@@ -192,7 +192,7 @@ def grayscale_enhancement_modes(self, value: List[int]):
192192 self ._grayscale_enhancement_modes = _DynamsoftBarcodeReader .SimplifiedBarcodeReaderSettings_grayscaleEnhancementModes_get (self )
193193 _DynamsoftBarcodeReader .SimplifiedBarcodeReaderSettings_grayscaleEnhancementModes_set (self , value )
194194 self ._grayscale_enhancement_modes = value
195-
195+
196196 @property
197197 def localization_modes (self ) -> List [int ]:
198198 """
@@ -208,7 +208,7 @@ def localization_modes(self, value: List[int]):
208208 self ._localization_modes = _DynamsoftBarcodeReader .SimplifiedBarcodeReaderSettings_localizationModes_get (self )
209209 _DynamsoftBarcodeReader .SimplifiedBarcodeReaderSettings_localizationModes_set (self , value )
210210 self ._localization_modes = value
211-
211+
212212 @property
213213 def deblur_modes (self ) -> List [int ]:
214214 """
@@ -551,7 +551,7 @@ def __init__(
551551 has_left_row_indicator : int = property (
552552 _DynamsoftBarcodeReader .CPDF417Details_hasLeftRowIndicator_get ,
553553 _DynamsoftBarcodeReader .CPDF417Details_hasLeftRowIndicator_set ,
554- doc = "Specifies whether the left row indicator of the PDF417 code exists." ,
554+ doc = "Specifies whether the left row indicator of the PDF417 code exists." ,
555555 )
556556 has_right_row_indicator : int = property (
557557 _DynamsoftBarcodeReader .CPDF417Details_hasRightRowIndicator_get ,
@@ -827,17 +827,17 @@ def get_items(self) -> List[BarcodeResultItem]:
827827 for i in range (count ):
828828 list .append (_DynamsoftBarcodeReader .CDecodedBarcodesResult_GetItem (self , i ))
829829 return list
830-
830+
831831_DynamsoftBarcodeReader .CDecodedBarcodesResult_register (DecodedBarcodesResult )
832832
833- #new
833+ #new
834834
835835class LocalizedBarcodeElement (RegionObjectElement ):
836836 _thisown = property (lambda x : x .this .own (), lambda x , v : x .this .own (v ), doc = "The membership flag" )
837837
838838 def __init__ (self , * args , ** kwargs ):
839839 _DynamsoftBarcodeReader .Class_init (self , _DynamsoftBarcodeReader .CBarcodeReaderModule_CreateLocalizedBarcodeElement ())
840-
840+
841841 def get_possible_formats (self ) -> int :
842842 return _DynamsoftBarcodeReader .CLocalizedBarcodeElement_GetPossibleFormats (self )
843843
@@ -855,7 +855,7 @@ def get_confidence(self) -> int:
855855
856856 def set_possible_formats (self , possible_formats : int ) -> None :
857857 return _DynamsoftBarcodeReader .CLocalizedBarcodeElement_SetPossibleFormats (self , possible_formats )
858-
858+
859859 def set_location (self , location : Quadrilateral ) -> int :
860860 return _DynamsoftBarcodeReader .CLocalizedBarcodeElement_SetLocation (self , location )
861861
@@ -925,7 +925,7 @@ class ExtendedBarcodeResult(DecodedBarcodeElement):
925925
926926 def __init__ (self , * args , ** kwargs ):
927927 raise AttributeError ("No constructor defined - class is abstract" )
928-
928+
929929
930930 def get_extended_barcode_result_type (self ) -> int :
931931 return _DynamsoftBarcodeReader .CExtendedBarcodeResult_GetExtendedBarcodeResultType (self )
@@ -943,7 +943,7 @@ def get_sampling_image(self) -> ImageData:
943943_DynamsoftBarcodeReader .CExtendedBarcodeResult_register (ExtendedBarcodeResult )
944944class CandidateBarcodeZone :
945945 _thisown = property (lambda x : x .this .own (), lambda x , v : x .this .own (v ), doc = "The membership flag" )
946-
946+
947947 def __init__ (self , location : Quadrilateral = None , possibleFormats : int = None ):
948948 if (location is not None ) != (possibleFormats is not None ):
949949 raise TypeError ("CandidateBarcodeZone() requires either 0 or 2 arguments" )
@@ -969,11 +969,11 @@ class CandidateBarcodeZonesUnit(IntermediateResultUnit):
969969
970970 def __init__ (self , * args , ** kwargs ):
971971 raise AttributeError ("No constructor defined - class is abstract" )
972-
972+
973973
974974 def get_count (self ) -> int :
975975 return _DynamsoftBarcodeReader .CCandidateBarcodeZonesUnit_GetCount (self )
976-
976+
977977 def get_candidate_barcode_zone (self , index : int ) -> Tuple [int , CandidateBarcodeZone ]:
978978 return _DynamsoftBarcodeReader .CCandidateBarcodeZonesUnit_GetCandidateBarcodeZone (self , index )
979979
@@ -996,7 +996,7 @@ class LocalizedBarcodesUnit(IntermediateResultUnit):
996996
997997 def __init__ (self , * args , ** kwargs ):
998998 raise AttributeError ("No constructor defined - class is abstract" )
999-
999+
10001000
10011001 def get_count (self ) -> int :
10021002 return _DynamsoftBarcodeReader .CLocalizedBarcodesUnit_GetCount (self )
@@ -1024,7 +1024,7 @@ class ScaledBarcodeImageUnit(IntermediateResultUnit):
10241024
10251025 def __init__ (self , * args , ** kwargs ):
10261026 raise AttributeError ("No constructor defined - class is abstract" )
1027-
1027+
10281028 def get_image_data (self ) -> ImageData :
10291029 return _DynamsoftBarcodeReader .CScaledBarcodeImageUnit_GetImageData (self )
10301030
@@ -1035,7 +1035,7 @@ def set_image_data(self, image_data: ImageData) -> int:
10351035_DynamsoftBarcodeReader .CScaledBarcodeImageUnit_register (ScaledBarcodeImageUnit )
10361036class DeformationResistedBarcode :
10371037 _thisown = property (lambda x : x .this .own (), lambda x , v : x .this .own (v ), doc = "The membership flag" )
1038-
1038+
10391039 __destroy__ = _DynamsoftBarcodeReader .delete_CDeformationResistedBarcode
10401040
10411041 def __init__ (self , * args ):
@@ -1067,7 +1067,7 @@ class DeformationResistedBarcodeImageUnit(IntermediateResultUnit):
10671067
10681068 def __init__ (self , * args , ** kwargs ):
10691069 raise AttributeError ("No constructor defined - class is abstract" )
1070-
1070+
10711071 def get_deformation_resisted_barcode (self ) -> DeformationResistedBarcode :
10721072 return _DynamsoftBarcodeReader .CDeformationResistedBarcodeImageUnit_GetDeformationResistedBarcode (self )
10731073
@@ -1082,7 +1082,7 @@ class ComplementedBarcodeImageUnit(IntermediateResultUnit):
10821082
10831083 def __init__ (self , * args , ** kwargs ):
10841084 raise AttributeError ("No constructor defined - class is abstract" )
1085-
1085+
10861086 def get_image_data (self ) -> ImageData :
10871087 return _DynamsoftBarcodeReader .CComplementedBarcodeImageUnit_GetImageData (self )
10881088
@@ -1099,7 +1099,7 @@ class DecodedBarcodesUnit(IntermediateResultUnit):
10991099
11001100 def __init__ (self , * args , ** kwargs ):
11011101 raise AttributeError ("No constructor defined - class is abstract" )
1102-
1102+
11031103
11041104 def get_count (self ) -> int :
11051105 return _DynamsoftBarcodeReader .CDecodedBarcodesUnit_GetCount (self )
0 commit comments