Skip to content

Commit 4bbbc46

Browse files
test
1 parent b1deef8 commit 4bbbc46

File tree

113 files changed

+266
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+266
-79
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
os: [ubuntu-20.04, windows-2019]
13+
os: [ubuntu-22.04, windows-2019]
1414
# os: [ubuntu-20.04]
1515

1616
steps:
@@ -21,7 +21,7 @@ jobs:
2121
python-version: '3.x'
2222

2323
- name: Set up QEMU
24-
if: matrix.os == 'ubuntu-20.04'
24+
if: matrix.os == 'ubuntu-22.04'
2525
uses: docker/setup-qemu-action@v2
2626
- name: Build wheels
2727

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ is an aggregating SDK of a series of specific functional products including:
2929
Version
3030
-------
3131

32-
- 3.0.2000
32+
- 3.0.3000
3333

3434
Supported Platforms
3535
-------------------

dynamsoft_capture_vision_bundle/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
from .license import *
1111
from .utility import *
1212

13-
__version__ = "3.0.2000"
13+
__version__ = "3.0.3000"

dynamsoft_capture_vision_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.20.9290"
1+
__version__ = "4.0.20.0477"
22

33
import sys
44

dynamsoft_capture_vision_bundle/cvr.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.0.20.9290"
1+
__version__ = "3.0.20.0477"
22

33
if __package__ or "." in __name__:
44
from .core import *
@@ -745,9 +745,15 @@ def __init__(self):
745745
__destroy__ = _DynamsoftCaptureVisionRouter.delete_CIntermediateResultManager
746746

747747
def add_result_receiver(self, receiver: IntermediateResultReceiver) -> int:
748+
if not hasattr(self, '_receivers') or self._receivers is None:
749+
self._receivers = []
750+
self._receivers.append(receiver)
748751
return _DynamsoftCaptureVisionRouter.CIntermediateResultManager_AddResultReceiver(self, receiver)
749752

750753
def remove_result_receiver(self, receiver: IntermediateResultReceiver) -> int:
754+
if not hasattr(self, '_receivers') or self._receivers is None:
755+
self._receivers = []
756+
self._receivers.remove(receiver)
751757
return _DynamsoftCaptureVisionRouter.CIntermediateResultManager_RemoveResultReceiver(self, receiver)
752758

753759
def get_original_image(self, image_hash_id: str)->ImageData:

dynamsoft_capture_vision_bundle/dbr.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "11.0.20.9290"
1+
__version__ = "11.0.20.0477"
22

33
if __package__ or "." in __name__:
44
from .core import *
@@ -508,7 +508,7 @@ class PDF417Details(BarcodeDetails):
508508
error_correction_level (int): The error correction level of PDF417 code.
509509
has_left_row_indicator (int): Specifies whether the left row indicator of the PDF417 code exists.
510510
has_right_row_indicator (int): Specifies whether the right row indicator of the PDF417 code exists.
511-
511+
codewords (List[int]): The codewords of the PDF417 Code.
512512
Methods:
513513
__init__(self, rows: int = -1, columns: int = -1, level: int = -1, has_left_row_indicator: int = -1, has_right_row_indicator: int = -1): Initializes a new instance of the PDF417Details class.
514514
"""
@@ -558,6 +558,11 @@ def __init__(
558558
_DynamsoftBarcodeReader.CPDF417Details_hasRightRowIndicator_set,
559559
doc="Specifies whether the right row indicator of the PDF417 code exists.",
560560
)
561+
codewords: List[int] = property(
562+
_DynamsoftBarcodeReader.CPDF417Details_codewords_get,
563+
_DynamsoftBarcodeReader.CPDF417Details_codewords_set,
564+
)
565+
561566
__destroy__ = _DynamsoftBarcodeReader.delete_CPDF417Details
562567

563568

dynamsoft_capture_vision_bundle/dcp.py

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

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

dynamsoft_capture_vision_bundle/dcpd.py

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

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

dynamsoft_capture_vision_bundle/ddn.py

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

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

dynamsoft_capture_vision_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.20.9290"
1+
__version__ = "3.0.20.0477"
22

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

0 commit comments

Comments
 (0)