Skip to content

Commit cf5e09f

Browse files
authored
Update AccuracyFirstSettings.java
1 parent 4d54fa2 commit cf5e09f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

samples/Performance/AccuracyFirstSettings/src/main/java/AccuracyFirstSettings.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,10 @@ private static void outputResults(TextResult[] results) {
4848
public static void main(String[] args) {
4949
try {
5050

51-
// 1.Initialize license.
52-
// The organization id 200001 here will grant you a free public trial license. Note that network connection is required for this license to work.
53-
// If you want to use an offline license, please contact Dynamsoft Support: https://www.dynamsoft.com/company/contact/
54-
// 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
55-
DMDLSConnectionParameters para = BarcodeReader.initDLSConnectionParameters();
56-
para.organizationID = "200001";
57-
58-
BarcodeReader.initLicenseFromDLS(para);
51+
// 1.Initialize license.
52+
// The organization id 200001 here will grant you a free public trial license. Note that network connection is required for this license to work.
53+
// 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
54+
BarcodeReader.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
5955

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

0 commit comments

Comments
 (0)