Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions _articles/extended-usage/ocr.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Read on to learn about how to use it.
## Requirements

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

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

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

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

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

<script type="text/javascript">
var DWTObject;

Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; //one-day trial license
Dynamsoft.DWT.RegisterEvent("OnWebTwainReady", function () {
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
DWTObject.Viewer.width = "100%";
Expand Down Expand Up @@ -300,6 +302,7 @@ Here is the complete code of the demo.
var DWTObject;
var storedOCRResults = {};

Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; //one-day trial license
Dynamsoft.DWT.RegisterEvent("OnWebTwainReady", function () {
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
DWTObject.Viewer.width = "100%";
Expand Down