Skip to content

Commit 94a6d48

Browse files
Felix-DynamsoftfelixindrawanDMGithubPublisher
authored
fix: changed license for locate-an-item sample and updated links (#197)
* fix: changed license for locate-an-item sample and updated links * Update main.yml --------- Co-authored-by: felixindrawan <[email protected]> Co-authored-by: DMGithubPublisher <[email protected]>
1 parent 2f04b9f commit 94a6d48

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,14 @@ <h3>Barcode Reader Samples</h3>
153153
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Read barcodes from camera and show result texts on the video." class="button title" href="use-case/show-result-texts-on-the-video.html">Show Result Texts on the Video</a><span id="icon042" class="tooltipIcon"></span>
154154
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/show-result-texts-on-the-video.html" title="Check code on GitHub"></a>
155155
</div>
156+
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Read the PDF417 barcode on a driver's
157+
license (AAMVA compliant) and parse it." class="button title" href="use-case/read-a-drivers-license/index.html">Read a
158+
Driver's License</a><span id="icon042" class="tooltipIcon"></span>
159+
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/read-a-drivers-license.html" title="Check code on GitHub"></a>
160+
</div>
161+
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Locate an item quickly by scanning barcodes." class="button title" href="use-case/locate-an-item-with-barcode/index.html">Find Item via Barcode</a><span id="icon042" class="tooltipIcon"></span>
162+
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/locate-an-item-with-barcode/index.html" title="Check code on GitHub"></a>
163+
</div>
156164
</div>
157165
<div class="file">Others</div>
158166
<div class="children">

use-case/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ The following sample demonstrates how to utilize the SDK to find an item using a
3535

3636
Additionally, this sample demonstrates how to utilize the SDK to fill out form fields, creating a custom UI with [Dynamsoft Camera Enhancer (DCE)](https://www.dynamsoft.com/camera-enhancer/docs/core/introduction/index.html), and using DCE to draw shapes/images on the CameraView to create indicators for each barcode that has been detected!
3737

38-
* <a target = "_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/use-case/read-a-drivers-license/index.html">Locate an item via Barcode - Demo (TO BE UPDATED)</a>
39-
* <a target = "_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/read-a-drivers-license/index.html">RLocate an item via Barcode - Source Code (TO BE UPDATED)</a>
38+
* <a target = "_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/use-case/locate-an-item-with-barcode/index.html">Locate an Item with Barcode - Demo</a>
39+
* <a target = "_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/locate-an-item-with-barcode/index.html">Locate an Item with Barcode - Source Code</a>
4040

4141

4242
## Support

use-case/locate-an-item-with-barcode/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
<!-- Container to retrieve user input -->
206206
<div id="inputs-container">
207207
<div style="border-bottom: 2px solid #fe8e14; padding: 0 2rem">
208-
<h3 style="text-align: center">Locate an Item via Barcode</h3>
208+
<h3 style="text-align: center">Locate an Item with Barcode</h3>
209209
</div>
210210
<div style="padding: 0 2rem">
211211
<p>1. Enter or Scan the Item ID that you're seaching for:</p>
@@ -280,9 +280,7 @@ <h6 id="camera-switch-notification"></h6>
280280
/** LICENSE ALERT - README
281281
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.
282282
*/
283-
Dynamsoft.License.LicenseManager.initLicense(
284-
"DLS2eyJoYW5kc2hha2VDb2RlIjoiMTAyODk0NDUwLVRYbFhaV0pRY205cSIsIm1haW5TZXJ2ZXJVUkwiOiJodHRwczovL21sdHMuZHluYW1zb2Z0LmNvbSIsIm9yZ2FuaXphdGlvbklEIjoiMTAyODk0NDUwIiwic3RhbmRieVNlcnZlclVSTCI6Imh0dHBzOi8vc2x0cy5keW5hbXNvZnQuY29tIiwiY2hlY2tDb2RlIjoxMDUxNjY0NjUyfQ=="
285-
);
283+
Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
286284
/**
287285
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
288286
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.

0 commit comments

Comments
 (0)