Skip to content

Commit 1264a97

Browse files
committed
LTS -> DLS
1 parent cadb87a commit 1264a97

15 files changed

+38
-39
lines changed

samples/test_AppendTemplateFile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
reader.init_license(license_key)
2020

2121
## The code snippet below shows how to use the full license in DBR 8.x:
22-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
22+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
2323
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
2424
# connection_paras.main_server_url = "Input your own server url"
2525
# connection_paras.handshake_code = "Input your own handshake"
2626
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
2727
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
2828
# try:
29-
# error = BarcodeReader.init_license_from_lts(connection_paras)
29+
# error = BarcodeReader.init_license_from_dls(connection_paras)
3030
# if error[0] != EnumErrorCode.DBR_OK:
3131
# print(error[1])
3232
# except BarcodeReaderError as bre:

samples/test_AppendTemplateString.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
reader.init_license(license_key)
1717

1818
## The code snippet below shows how to use the full license in DBR 8.x:
19-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
19+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
2020
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
2121
# connection_paras.main_server_url = "Input your own server url"
2222
# connection_paras.handshake_code = "Input your own handshake"
2323
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
2424
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
2525
# try:
26-
# error = BarcodeReader.init_license_from_lts(connection_paras)
26+
# error = BarcodeReader.init_license_from_dls(connection_paras)
2727
# if error[0] != EnumErrorCode.DBR_OK:
2828
# print(error[1])
2929
# except BarcodeReaderError as bre:

samples/test_DecodeFile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
reader.init_license(license_key)
1616

1717
## The code snippet below shows how to use the full license in DBR 8.x:
18-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
18+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
1919
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
2020
# connection_paras.main_server_url = "Input your own server url"
2121
# connection_paras.handshake_code = "Input your own handshake"
2222
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
2323
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
2424
# try:
25-
# error = BarcodeReader.init_license_from_lts(connection_paras)
25+
# error = BarcodeReader.init_license_from_dls(connection_paras)
2626
# if error[0] != EnumErrorCode.DBR_OK:
2727
# print(error[1])
2828
# except BarcodeReaderError as bre:

samples/test_DecodeFileInMemory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
reader.init_license(license_key)
1515

1616
## The code snippet below shows how to use the full license in DBR 8.x:
17-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
17+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
1818
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
1919
# connection_paras.main_server_url = "Input your own server url"
2020
# connection_paras.handshake_code = "Input your own handshake"
2121
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
2222
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
2323
# try:
24-
# error = BarcodeReader.init_license_from_lts(connection_paras)
24+
# error = BarcodeReader.init_license_from_dls(connection_paras)
2525
# if error[0] != EnumErrorCode.DBR_OK:
2626
# print(error[1])
2727
# except BarcodeReaderError as bre:

samples/test_DecodeImageBufferByOpencv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
reader.init_license(license_key)
1919

2020
## The code snippet below shows how to use the full license in DBR 8.x:
21-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
21+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
2222
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
2323
# connection_paras.main_server_url = "Input your own server url"
2424
# connection_paras.handshake_code = "Input your own handshake"
2525
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
2626
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
2727
# try:
28-
# error = BarcodeReader.init_license_from_lts(connection_paras)
28+
# error = BarcodeReader.init_license_from_dls(connection_paras)
2929
# if error[0] != EnumErrorCode.DBR_OK:
3030
# print(error[1])
3131
# except BarcodeReaderError as bre:

samples/test_DecodeImagesInFolder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
reader.init_license(license_key)
1919

2020
## The code snippet below shows how to use the full license in DBR 8.x:
21-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
21+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
2222
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
2323
# connection_paras.main_server_url = "Input your own server url"
2424
# connection_paras.handshake_code = "Input your own handshake"
2525
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
2626
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
2727
# try:
28-
# error = BarcodeReader.init_license_from_lts(connection_paras)
28+
# error = BarcodeReader.init_license_from_dls(connection_paras)
2929
# if error[0] != EnumErrorCode.DBR_OK:
3030
# print(error[1])
3131
# except BarcodeReaderError as bre:

samples/test_DecodeIntermediateResults.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
reader.init_license(license_key)
1616

1717
## The code snippet below shows how to use the full license in DBR 8.x:
18-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
18+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
1919
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
2020
# connection_paras.main_server_url = "Input your own server url"
2121
# connection_paras.handshake_code = "Input your own handshake"
2222
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
2323
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
2424
# try:
25-
# error = BarcodeReader.init_license_from_lts(connection_paras)
25+
# error = BarcodeReader.init_license_from_dls(connection_paras)
2626
# if error[0] != EnumErrorCode.DBR_OK:
2727
# print(error[1])
2828
# except BarcodeReaderError as bre:

samples/test_DecodeLocalVideo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def text_results_callback_func(frame_id, t_results, user_data):
4343
print("Exception : ")
4444
print(text_result.exception)
4545
print("-------------")
46-
## Or you can inherit the abstract class TextResultResultCallBack to implement the abstract method text_results_callback_func.
47-
# class SubTextResultResultCallBack(TextResultResultCallBack):
46+
## Or you can inherit the abstract class TextResultCallBack to implement the abstract method text_results_callback_func.
47+
# class SubTextResultCallBack(TextResultCallBack):
4848
# @staticmethod
4949
# def text_results_callback_func(frame_id, t_results, user_data):
5050
# print(frame_id)
@@ -142,14 +142,14 @@ def read_barcode():
142142
reader.init_license(license_key)
143143

144144
## The code snippet below shows how to use the full license in DBR 8.x:
145-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
145+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
146146
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
147147
# connection_paras.main_server_url = "Input your own server url"
148148
# connection_paras.handshake_code = "Input your own handshake"
149149
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
150150
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
151151
# try:
152-
# error = BarcodeReader.init_license_from_lts(connection_paras)
152+
# error = BarcodeReader.init_license_from_dls(connection_paras)
153153
# if error[0] != EnumErrorCode.DBR_OK:
154154
# print(error[1])
155155
# except BarcodeReaderError as bre:

samples/test_DecodeLocalVideos.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def text_results_callback_func(frame_id, t_results, user_data):
4646
print("Exception : ")
4747
print(text_result.exception)
4848
print("-------------")
49-
## Or you can inherit the abstract class TextResultResultCallBack to implement the abstract method text_results_callback_func.
50-
# class SubTextResultResultCallBack(TextResultResultCallBack):
49+
## Or you can inherit the abstract class TextResultCallBack to implement the abstract method text_results_callback_func.
50+
# class SubTextResultCallBack(TextResultCallBack):
5151
# @staticmethod
5252
# def text_results_callback_func(frame_id, t_results, user_data):
5353
# print(frame_id)
@@ -151,14 +151,14 @@ def read_barcode(video_path):
151151
reader.init_license(license_key)
152152

153153
## The code snippet below shows how to use the full license in DBR 8.x:
154-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
154+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
155155
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
156156
# connection_paras.main_server_url = "Input your own server url"
157157
# connection_paras.handshake_code = "Input your own handshake"
158158
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
159159
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
160160
# try:
161-
# error = BarcodeReader.init_license_from_lts(connection_paras)
161+
# error = BarcodeReader.init_license_from_dls(connection_paras)
162162
# if error[0] != EnumErrorCode.DBR_OK:
163163
# print(error[1])
164164
# except BarcodeReaderError as bre:

samples/test_DecodeVideoByCamera.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def text_results_callback_func(frame_id, t_results, user_data):
4343
print("Exception : ")
4444
print(text_result.exception)
4545
print("-------------")
46-
## Or you can inherit the abstract class TextResultResultCallBack to implement the abstract method text_results_callback_func.
47-
# class SubTextResultResultCallBack(TextResultResultCallBack):
46+
## Or you can inherit the abstract class TextResultCallBack to implement the abstract method text_results_callback_func.
47+
# class SubTextResultCallBack(TextResultCallBack):
4848
# @staticmethod
4949
# def text_results_callback_func(frame_id, t_results, user_data):
5050
# print(frame_id)
@@ -146,14 +146,14 @@ def read_barcode():
146146
reader.init_license(license_key)
147147

148148
## The code snippet below shows how to use the full license in DBR 8.x:
149-
# connection_paras = BarcodeReader.init_lts_connection_parameters()
149+
# connection_paras = BarcodeReader.init_dls_connection_parameters()
150150
## If DBR service is already built on your server, you can fill in the address of your server, or leave this property's default value.
151151
# connection_paras.main_server_url = "Input your own server url"
152152
# connection_paras.handshake_code = "Input your own handshake"
153153
# connection_paras.deployment_type = EnumDMDeploymentType.DM_DT_DESKTOP
154154
# connection_paras.uuid_generation_method = EnumDMUUIDGenerationMethod.DM_UUIDGM_RANDOM
155155
# try:
156-
# error = BarcodeReader.init_license_from_lts(connection_paras)
156+
# error = BarcodeReader.init_license_from_dls(connection_paras)
157157
# if error[0] != EnumErrorCode.DBR_OK:
158158
# print(error[1])
159159
# except BarcodeReaderError as bre:

0 commit comments

Comments
 (0)