Skip to content

Commit 12574b9

Browse files
Merge pull request #965 from dynamsoft-docs/preview
update license application in the OCR guide
2 parents ba36f1f + 41d720b commit 12574b9

File tree

1 file changed

+5
-2
lines changed
  • _articles/extended-usage

1 file changed

+5
-2
lines changed

_articles/extended-usage/ocr.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Read on to learn about how to use it.
1818
## Requirements
1919

2020
* Windows 10 versions >= 1809 and all versions of Windows 11
21-
* A license with the OCR module ([30-day trial application](https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform))
21+
* A license with the OCR module ([contact support to get a 30-day trial license](mailto:support@dynamsoft.com))
2222
* [DynamicWebTWAINOCRResources.zip](https://download2.dynamsoft.com/dwt/DynamicWebTWAINOCRResources.zip)
2323

2424
## Online Demo
@@ -42,7 +42,7 @@ It will copy an `ocr` folder to Dynamic Web TWAIN Service's [installation folder
4242

4343
### Step Two - Write a Basic Document Scanning Page
4444

45-
Create a HTML with the following content. It can scan documents from scanners as well as loading local images.
45+
Create a HTML file with the following content. It can scan documents from scanners as well as loading local images.
4646

4747
```html
4848
<!DOCTYPE html>
@@ -79,6 +79,8 @@ Create a HTML with the following content. It can scan documents from scanners as
7979

8080
<script type="text/javascript">
8181
var DWTObject;
82+
83+
Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; //one-day trial license
8284
Dynamsoft.DWT.RegisterEvent("OnWebTwainReady", function () {
8385
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
8486
DWTObject.Viewer.width = "100%";
@@ -300,6 +302,7 @@ Here is the complete code of the demo.
300302
var DWTObject;
301303
var storedOCRResults = {};
302304
305+
Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; //one-day trial license
303306
Dynamsoft.DWT.RegisterEvent("OnWebTwainReady", function () {
304307
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
305308
DWTObject.Viewer.width = "100%";

0 commit comments

Comments
 (0)