Skip to content

Commit 8415c10

Browse files
committed
Refine intro page: clarify trial license wording, format 'Why the Foundational API' heading
1 parent fad4a5f commit 8415c10

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

programming/javascript/index.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,16 @@ npm install dynamsoft-barcode-reader-bundle@11.4.2000
3737

3838
**Browser support:** Chrome 78+, Firefox 68+, Safari 14+, Edge 79+ (desktop and mobile). See [full system requirements](https://www.dynamsoft.com/faq/barcode-reader/web/capabilities/system-requirement.html).
3939

40-
**License:** A free trial license is included in the samples. For production use, [request a trial license](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&package=js) or [contact sales](https://www.dynamsoft.com/company/contact/).
40+
**License:** A built-in 24-hour trial license is used if no license is configured. For extended evaluation, [request a 30-day trial license](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&package=js). For production use, [contact sales](https://www.dynamsoft.com/company/contact/).
4141

4242
## How to Integrate
4343

4444
### Foundational API (Recommended)
4545

46-
The **Foundational API** — centered on `CaptureVisionRouter` — is the primary and recommended way to use DBR-JS. It gives you full control over the entire capture pipeline: decoding, camera management, result filtering, UI, and seamless integration with other Dynamsoft products.
47-
48-
- **Modular and extensible** – Start with barcode reading, then plug in document detection, label recognition, or ID parsing without re-architecting
49-
- **Full customization** – Control camera input, processing logic, scan region, UI, and output handling to match your exact use case
50-
- **High performance** – Shared computation across components enables real-time processing even in multi-step workflows
51-
- **Intermediate result access** – Inspect and react to in-progress data for validation, feedback, or adaptive processing
46+
The **Foundational API** — centered on `CaptureVisionRouter` — is the primary and recommended way to use DBR-JS.
5247

5348
```js
54-
// Assumes license is already configured — see "License" above
49+
// A built-in 24-hour trial license is used if no license is configured
5550
// Create a camera view and connect it to the page
5651
let cameraView = await Dynamsoft.DCE.CameraView.createInstance();
5752
document.querySelector("#camera-view-container").append(cameraView.getUIElement());
@@ -77,6 +72,13 @@ await router.startCapturing("ReadSingleBarcode");
7772
<a target="_blank" href="https://jsfiddle.net/DynamsoftTeam/csm2f9wb/" title="Try it on JSFiddle">Try it live on JSFiddle →</a>
7873
</p>
7974

75+
**Why the Foundational API?** It gives you full control over the entire capture pipeline: decoding, camera management, result filtering, UI, and seamless integration with other Dynamsoft products.
76+
77+
- **Modular and extensible** – Start with barcode reading, then plug in document detection, label recognition, or ID parsing without re-architecting
78+
- **Full customization** – Control camera input, processing logic, scan region, UI, and output handling to match your exact use case
79+
- **High performance** – Shared computation across components enables real-time processing even in multi-step workflows
80+
- **Intermediate result access** – Inspect and react to in-progress data for validation, feedback, or adaptive processing
81+
8082
The Foundational API also supports decoding from static images — no camera required:
8183

8284
```js

0 commit comments

Comments
 (0)