Skip to content

Commit 1013d7c

Browse files
test
1 parent d4edf47 commit 1013d7c

31 files changed

+12
-55
lines changed

dynamsoft_barcode_reader_bundle/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "4.0.40.6672"
1+
__version__ = "4.0.40.6677"
22

33
import sys
44

dynamsoft_barcode_reader_bundle/cvr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.4.10.6672"
1+
__version__ = "3.4.10.6677"
22

33
if __package__ or "." in __name__:
44
from .core import *

dynamsoft_barcode_reader_bundle/dbr.py

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "11.4.10.6672"
1+
__version__ = "11.4.10.6677"
22

33
if __package__ or "." in __name__:
44
from .core import *
@@ -731,8 +731,7 @@ class BarcodeResultItem(CapturedResultItem):
731731
get_details(self) -> BarcodeDetails: Gets the details of the decoded barcode result.
732732
is_dpm(self) -> bool: Gets whether the decoded barcode is a DPM code.
733733
is_mirrored(self) -> bool: Gets whether the decoded barcode is mirrored.
734-
get_eci_segments_count(self) -> int: Gets the number of ECI segments in the barcode.
735-
get_eci_segment(self, index: int) -> ECISegment: Gets the ECI segment at the specified index.
734+
get_eci_segments(self) -> List[ECISegment]: Gets all the ECI segments in the barcode.
736735
"""
737736
_thisown = property(
738737
lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag"
@@ -840,38 +839,17 @@ def is_mirrored(self) -> bool:
840839
"""
841840
return _DynamsoftBarcodeReader.CBarcodeResultItem_IsMirrored(self)
842841

843-
def get_eci_segments_count(self) -> int:
844-
"""
845-
Gets the number of ECI segments in the barcode.
846-
847-
Returns:
848-
The count of ECI segments. Returns 0 if no ECI information is present.
849-
"""
850-
return _DynamsoftBarcodeReader.CBarcodeResultItem_GetECISegmentsCount(self)
851-
852-
def get_eci_segment(self, index: int) -> ECISegment:
853-
"""
854-
Gets the ECI segment at the specified index.
855-
856-
Args:
857-
index: The zero-based index of the ECI segment to retrieve.
858-
859-
Returns:
860-
An ECISegment object, or None if the index is out of range.
861-
"""
862-
return _DynamsoftBarcodeReader.CBarcodeResultItem_GetECISegment(self, index)
863-
864842
def get_eci_segments(self) -> List[ECISegment]:
865843
"""
866844
Gets all the ECI segments in the barcode.
867845
868846
Returns:
869847
A list of ECISegment objects.
870848
"""
871-
count = self.get_eci_segments_count()
849+
count = _DynamsoftBarcodeReader.CBarcodeResultItem_GetECISegmentsCount(self)
872850
result = []
873851
for i in range(count):
874-
eci = self.get_eci_segment(i)
852+
eci = _DynamsoftBarcodeReader.CBarcodeResultItem_GetECISegment(self, i)
875853
if eci is not None:
876854
result.append(eci)
877855
return result
@@ -1001,38 +979,17 @@ def set_confidence(self, confidence: int) -> None:
1001979
def set_location(self, location: Quadrilateral) -> int:
1002980
return _DynamsoftBarcodeReader.CDecodedBarcodeElement_SetLocation(self, location)
1003981

1004-
def get_eci_segments_count(self) -> int:
1005-
"""
1006-
Gets the number of ECI segments in the barcode.
1007-
1008-
Returns:
1009-
The count of ECI segments. Returns 0 if no ECI information is present.
1010-
"""
1011-
return _DynamsoftBarcodeReader.CDecodedBarcodeElement_GetECISegmentsCount(self)
1012-
1013-
def get_eci_segment(self, index: int) -> ECISegment:
1014-
"""
1015-
Gets the ECI segment at the specified index.
1016-
1017-
Args:
1018-
index(int): The zero-based index of the ECI segment to retrieve.
1019-
1020-
Returns:
1021-
An ECISegment object, or None if the index is out of range.
1022-
"""
1023-
return _DynamsoftBarcodeReader.CDecodedBarcodeElement_GetECISegment(self, index)
1024-
1025982
def get_eci_segments(self) -> List[ECISegment]:
1026983
"""
1027984
Gets all the ECI segments in the barcode.
1028985
1029986
Returns:
1030987
A list of ECISegment objects.
1031988
"""
1032-
count = self.get_eci_segments_count()
989+
count = _DynamsoftBarcodeReader.CDecodedBarcodeElement_GetECISegmentsCount(self)
1033990
result = []
1034991
for i in range(count):
1035-
eci = self.get_eci_segment(i)
992+
eci = _DynamsoftBarcodeReader.CDecodedBarcodeElement_GetECISegment(self, i)
1036993
if eci is not None:
1037994
result.append(eci)
1038995
return result

dynamsoft_barcode_reader_bundle/dip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.0.30.6672"
1+
__version__ = "3.0.30.6677"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftImageProcessing

dynamsoft_barcode_reader_bundle/dnn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.30.6672"
1+
__version__ = "2.0.30.6677"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftNeuralNetwork

dynamsoft_barcode_reader_bundle/license.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "4.0.30.6672"
1+
__version__ = "4.0.30.6677"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftLicense

dynamsoft_barcode_reader_bundle/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.40.6672"
1+
__version__ = "2.0.40.6677"
22

33
if __package__ or "." in __name__:
44
from .cvr import *
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)