Skip to content

Commit 41d720b

Browse files
committed
add productKey in the OCR's complete code
1 parent c52d0b0 commit 41d720b

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

_articles/extended-usage/ocr.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Create a HTML file with the following content. It can scan documents from scanne
7979

8080
<script type="text/javascript">
8181
var DWTObject;
82+
8283
Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; //one-day trial license
8384
Dynamsoft.DWT.RegisterEvent("OnWebTwainReady", function () {
8485
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
@@ -301,6 +302,7 @@ Here is the complete code of the demo.
301302
var DWTObject;
302303
var storedOCRResults = {};
303304
305+
Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; //one-day trial license
304306
Dynamsoft.DWT.RegisterEvent("OnWebTwainReady", function () {
305307
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
306308
DWTObject.Viewer.width = "100%";

0 commit comments

Comments
 (0)