Skip to content

Commit 42a5f92

Browse files
committed
Update
1 parent c5d2850 commit 42a5f92

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

examples/official/ai_agent/claude-sonnet-4.5/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ python barcode_scanner.py --help
5656

5757
## License
5858

59-
This application uses a public trial license that requires a network connection. The license key is embedded in the code: `DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9`
59+
This application uses a public trial license that requires a network connection. The license key is embedded in the code: `DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==`
6060

61-
For production use or offline applications, you can request a 30-day free trial license from the [Dynamsoft Customer Portal](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&package=python).
61+
For production use or offline applications, you can request a 30-day free trial license from the [Dynamsoft Customer Portal](https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform).
6262

6363
## Output Format
6464

examples/official/ai_agent/claude-sonnet-4.5/barcode_scanner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def scan_barcode(image_path):
2121

2222
# Initialize license
2323
# Using public trial license (requires network connection)
24-
errorCode, errorMsg = LicenseManager.init_license("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9")
24+
errorCode, errorMsg = LicenseManager.init_license("DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==")
2525
if errorCode != EnumErrorCode.EC_OK and errorCode != EnumErrorCode.EC_LICENSE_CACHE_USED:
2626
print(f"License initialization failed: ErrorCode: {errorCode}, ErrorString: {errorMsg}")
2727
return
@@ -67,7 +67,7 @@ def scan_directory(directory_path):
6767
return
6868

6969
# Initialize license
70-
errorCode, errorMsg = LicenseManager.init_license("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9")
70+
errorCode, errorMsg = LicenseManager.init_license("DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==")
7171
if errorCode != EnumErrorCode.EC_OK and errorCode != EnumErrorCode.EC_LICENSE_CACHE_USED:
7272
print(f"License initialization failed: ErrorCode: {errorCode}, ErrorString: {errorMsg}")
7373
return

examples/official/ai_agent/custom-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ python barcode_scanner.py /path/to/images --batch --format CODE_128 --verbose
6363

6464
## License
6565

66-
The script uses a free public trial license that requires an internet connection. For offline use or production deployment, get a 30-day trial license from: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr
66+
The script uses a free public trial license that requires an internet connection. For offline use or production deployment, get a 30-day trial license from: https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform
6767

6868
## Examples
6969

examples/official/ai_agent/custom-agent/barcode_scanner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
def setup_license():
2828
"""Initialize the Dynamsoft license."""
2929
# Public trial license (requires internet connection)
30-
# For offline use, get a 30-day trial from: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr
31-
license_key = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"
30+
# For offline use, get a 30-day trial from: https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform
31+
license_key = "DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ=="
3232

3333
error_code, error_msg = LicenseManager.init_license(license_key)
3434
if error_code != EnumErrorCode.EC_OK and error_code != EnumErrorCode.EC_LICENSE_CACHE_USED:
3535
print(f"❌ License initialization failed: {error_msg}")
36-
print("💡 Get a free trial license: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr")
36+
print("💡 Get a free trial license: https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform")
3737
return False
3838
return True
3939

examples/official/ai_agent/gemini-2.5-pro/barcode-scanner/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Initialize the barcode reader
55
try:
6-
# You can get a free trial license key from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr
6+
# You can get a free trial license key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform
77
BarcodeReader.init_license("DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==")
88
reader = BarcodeReader()
99
except BarcodeReaderError as bre:

examples/official/ai_agent/gpt-5/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pip install -r requirements.txt
2222
# Set your license (replace with your key)
2323
$env:DBR_LICENSE = "YOUR-LICENSE-KEY"
2424
```
25-
Obtain a trial key: https://www.dynamsoft.com/barcode-reader/trial/
25+
Obtain a [trial key](https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform)
2626

2727
## Usage
2828
```powershell

0 commit comments

Comments
 (0)