Skip to content

Commit b7ba154

Browse files
test
1 parent 55cf209 commit b7ba154

File tree

12 files changed

+35
-34
lines changed

12 files changed

+35
-34
lines changed

dynamsoft_barcode_reader_bundle/core.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
__version__ = "4.0.10.8914"
1+
__version__ = "4.0.10.8962"
2+
3+
import sys
4+
5+
module_name = "runtime_data_dynamsoft"
6+
module = sys.modules.setdefault(module_name, type(sys)(module_name))
27

38
if __package__ or "." in __name__:
49
from . import _DynamsoftCore
@@ -1018,7 +1023,7 @@ class CapturedResultBase:
10181023
get_original_image_tag(self) -> ImageTag: Gets the tag of the original image.
10191024
get_rotation_transform_matrix(self) -> List[float]: Gets the rotation transform matrix.
10201025
get_error_code(self) -> int: Gets the error code of the detection operation.
1021-
et_error_string(self) -> str: Gets the error string of the detection operation.
1026+
get_error_string(self) -> str: Gets the error string of the detection operation.
10221027
"""
10231028
_thisown = property(
10241029
lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag"
@@ -1592,6 +1597,8 @@ class PredetectedRegionElement(RegionObjectElement):
15921597
Methods:
15931598
get_mode_name(self) -> str: Gets the name of the detection mode used to detect this region element.
15941599
set_location(self, loc: Quadrilateral) -> int: Sets the location of the region object element.
1600+
get_label_id(self) -> int: Gets the label ID of the predetected region element.
1601+
get_label_name(self) -> str: Gets the label name of the predetected region element.
15951602
"""
15961603
_thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15971604

@@ -1648,15 +1655,10 @@ class IntermediateResultUnit:
16481655
get_original_image_hash_id(self) -> str: Gets the hash ID of the original image.
16491656
get_original_image_tag(self) -> ImageTag: Gets the image tag of the original image.
16501657
get_transform_matrix(self, matrix_type: EnumTransformMatrixType) -> List[float]: Gets the transformation matrix via EnumTransformMatrixType.
1651-
set_transform_matrix(self, matrix_type: EnumTransformMatrixType, matrix: List[float]) -> None: Sets the transformation matrix via EnumTransformMatrixType.
16521658
get_type(self) -> int: Gets the type of the intermediate result unit.
16531659
clone(self) -> IntermediateResultUnit: Creates a copy of the intermediate result unit.
1654-
set_hash_id(self, hash_id: str) -> None: Sets the hash ID of the intermediate result unit.
1655-
set_original_image_tag(self, tag: ImageTag) -> None: Sets the image tag of the original image.
1656-
set_original_image_hash_id(self, hash_id: str) -> None: Sets the hash ID of the original image.
16571660
replace(self, unit: IntermediateResultUnit) -> int: Replaces the specified IntermediateResultUnit object with the current IntermediateResultUnit object.
16581661
get_usage_count(self) -> int: Gets the usage count of the intermediate result unit.
1659-
set_usage_count(self, usage_count: int) -> None: Sets the usage count of the intermediate result unit.
16601662
"""
16611663
_thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
16621664

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.0.10.8914"
1+
__version__ = "3.0.10.8962"
22

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

dynamsoft_barcode_reader_bundle/dbr.py

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

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

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.10.8914"
1+
__version__ = "3.0.10.8962"
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.10.8914"
1+
__version__ = "2.0.10.8962"
22

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

dynamsoft_barcode_reader_bundle/license.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "4.0.10.8914"
1+
__version__ = "4.0.10.8962"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftLicense
@@ -13,7 +13,6 @@ class LicenseManager:
1313
Methods:
1414
init_license(license: str) -> Tuple[int, str]: Initializes the license using a license key.
1515
set_device_friendly_name(name: str) -> Tuple[int, str]: Sets the friendly name of the device.
16-
set_max_concurrent_instance_count(count_for_this_device: int) -> Tuple[int, str]: Sets the maximum number of allowed instances for the given device and process.
1716
get_device_uuid(uuid_generation_method: int) -> Tuple[int, str, str]: Gets the unique identifier of the device.
1817
set_license_cache_path(directory_path: str) -> Tuple[int, str]: Sets the directory path for the license cache.
1918
"""

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.10.8914"
1+
__version__ = "2.0.10.8962"
22

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

src/DynamsoftBarcodeReader_wrap.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16730,10 +16730,10 @@ void
1673016730
(void)md;
1673116731

1673216732
SWIG_InitializeModule(0);
16733-
dataModule = PyImport_AddModule("runtime_data" DYNAMSOFT_POSTFIX);
16734-
if(dataModule)
16735-
Py_INCREF(dataModule);
16736-
Py_AtExit(ModelExit);
16733+
// dataModule = PyImport_AddModule("runtime_data" DYNAMSOFT_POSTFIX);
16734+
// if(dataModule)
16735+
// Py_INCREF(dataModule);
16736+
// Py_AtExit(ModelExit);
1673716737

1673816738

1673916739
#ifdef SWIGPYTHON_BUILTIN

src/DynamsoftCaptureVisionRouter_wrap.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16153,10 +16153,10 @@ void
1615316153
(void)md;
1615416154

1615516155
SWIG_InitializeModule(0);
16156-
dataModule = PyImport_AddModule("runtime_data" DYNAMSOFT_POSTFIX);
16157-
if(dataModule)
16158-
Py_INCREF(dataModule);
16159-
Py_AtExit(ModelExit);
16156+
// dataModule = PyImport_AddModule("runtime_data" DYNAMSOFT_POSTFIX);
16157+
// if(dataModule)
16158+
// Py_INCREF(dataModule);
16159+
// Py_AtExit(ModelExit);
1616016160
#ifdef SWIGPYTHON_BUILTIN
1616116161
swigpyobject = SwigPyObject_TypeOnce();
1616216162

src/DynamsoftCore_wrap.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19618,10 +19618,10 @@ void
1961819618
(void)md;
1961919619

1962019620
SWIG_InitializeModule(0);
19621-
dataModule = PyImport_AddModule("runtime_data" DYNAMSOFT_POSTFIX);
19622-
if(dataModule)
19623-
Py_INCREF(dataModule);
19624-
Py_AtExit(ModelExit);
19621+
// dataModule = PyImport_AddModule("runtime_data" DYNAMSOFT_POSTFIX);
19622+
// if(dataModule)
19623+
// Py_INCREF(dataModule);
19624+
// Py_AtExit(ModelExit);
1962519625
#ifdef SWIGPYTHON_BUILTIN
1962619626
swigpyobject = SwigPyObject_TypeOnce();
1962719627

0 commit comments

Comments
 (0)