Skip to content

Commit 4d54fa2

Browse files
authored
Update ImageDecoding.java
1 parent cb0d12e commit 4d54fa2

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

samples/ImageDecoding/src/main/java/ImageDecoding.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,10 @@ private static int chooseNumber() {
156156
public static void main(String[] args) {
157157
try {
158158

159-
// 1.Initialize license.
160-
// The organization id 200001 here will grant you a free public trial license. Note that network connection is required for this license to work.
161-
// If you want to use an offline license, please contact Dynamsoft Support: https://www.dynamsoft.com/company/contact/
162-
// You can also request a 30-day trial license in the customer portal: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=java
163-
DMDLSConnectionParameters para = BarcodeReader.initDLSConnectionParameters();
164-
para.organizationID = "200001";
165-
166-
BarcodeReader.initLicenseFromDLS(para);
159+
// 1.Initialize license.
160+
// The organization id 200001 here will grant you a free public trial license. Note that network connection is required for this license to work.
161+
// You can also request a 30-day trial license in the customer portal: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=java
162+
BarcodeReader.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
167163

168164
// 2.Create an instance of Dynamsoft Barcode Reader.
169165
BarcodeReader dbr = new BarcodeReader();

0 commit comments

Comments
 (0)