Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
ccbbf5c
Update main.yml (#198)
DMGithubPublisher Jul 16, 2024
2757129
fix: changed license for locate-an-item sample and updated links (#197)
Felix-Dynamsoft Jul 16, 2024
2dbc902
fix: broken demo links on README.md
felixindrawan Jul 16, 2024
8838d0a
fix: Locate Item Sample - license text color, and mobile viewport
felixindrawan Jul 17, 2024
69b3c48
fix: update license to use demo license
felixindrawan Jul 17, 2024
96c7cdc
Revert "fix: update license to use demo license"
Felix-Dynamsoft Jul 18, 2024
f39bd68
fix: updated debug link to github readme
felixindrawan Jul 18, 2024
649522d
Update index page (#206)
a362758199 Jul 26, 2024
8dd7405
Bug: fix utm_source from github to samples
Tom-Dynamsoft Aug 6, 2024
186d254
README: avoid slow git clone, use zip/tar.gz or depth 1 instead (#207)
Keillion Aug 12, 2024
e871e78
feat: Blazor sample
felixindrawan Aug 14, 2024
57a6eb0
fix: add trial license explicitly
felixindrawan Aug 15, 2024
bf2bea5
Update README.md (#209)
mythicaleia Aug 22, 2024
83aec9e
updated references and retrieving information
felixindrawan Aug 26, 2024
f94bd35
removed unused files and added homepage
felixindrawan Aug 26, 2024
fcf78ac
removed unused files
felixindrawan Aug 26, 2024
3d5b008
fix: removed unused codes and add multiple image decode
felixindrawan Aug 27, 2024
430beb9
inputElement.value = '';
Keillion Aug 28, 2024
d2e0661
feat: reset input value, so user can upload again
Keillion Aug 28, 2024
f4cb965
renamed project to BlazorApp and fix input reset
felixindrawan Aug 28, 2024
f1287fd
fix: comments
felixindrawan Aug 28, 2024
5a513b1
fix: update readme
felixindrawan Aug 28, 2024
613d578
fix: comments
felixindrawan Aug 28, 2024
6e523a7
feat: add icons for the nav
felixindrawan Aug 28, 2024
23271aa
fix: change icons for images
felixindrawan Aug 28, 2024
e565073
fix: remove vs folder
felixindrawan Aug 28, 2024
13276b8
Merge pull request #208 from Dynamsoft/blazor-sample
Tom-Dynamsoft Aug 28, 2024
d83fa5c
Fix: Update README.md => there is no longer a live demo for this sample
Tom-Dynamsoft Sep 4, 2024
f839356
Fix: Update README.md => there is no longer a live demo for this sample
Tom-Dynamsoft Sep 4, 2024
ec69190
docs: Update README.md to add more details to "Quick Start"
Tom-Dynamsoft Sep 10, 2024
35d0955
fix: move camera-view-container css to inline and update guide
felixindrawan Sep 14, 2024
c5b1b51
docs: Update README.md to remove broken demo link
Tom-Dynamsoft Sep 16, 2024
df05ae0
docs: Update README.md to remove broken demo link
Tom-Dynamsoft Sep 16, 2024
b984777
feat: add preview build script for test
Tom-Dynamsoft Oct 8, 2024
455407e
fix: bug in preview build script
Tom-Dynamsoft Oct 8, 2024
f9b49a5
fix: remove build script for preview which is not ready
Tom-Dynamsoft Oct 8, 2024
cf2024c
Deploy preview for PR 214 🛫
Oct 8, 2024
af96f43
feat: add PR previews (#214)
Felix-Dynamsoft Oct 8, 2024
66995b9
fix: remove preview folder
felixindrawan Oct 8, 2024
e52f76a
fix: remove preview on closed pr
felixindrawan Oct 8, 2024
6bb324f
Update README.md
chloe-dynamsoft Oct 9, 2024
bbd933b
Merge pull request #215 from Dynamsoft/chloe-hahn-patch-1
chloe-dynamsoft Oct 9, 2024
8ac4f87
chore: update dynamsoft-barcode-reader-bundle to v10.4.2000-beta (#212)
Felix-Dynamsoft Oct 10, 2024
98ccb80
patch for engineResourcePath for es6 and requirejs (#216)
Felix-Dynamsoft Oct 10, 2024
5217be7
chore: update DBR bundle to 10.4.2001-beta (#218)
Felix-Dynamsoft Oct 17, 2024
28ade1c
fix: documentation and license links to 10.4.2001 (#219)
Felix-Dynamsoft Oct 17, 2024
a7e0a2d
10.4.2002
Keillion Oct 24, 2024
dc656e2
add native-ts-sample
Shen-wb Oct 25, 2024
83351aa
Merge pull request #220 from Dynamsoft/_dev
Shen-wb Oct 25, 2024
5b707bf
UPDATE
Shen-wb Oct 25, 2024
ed1dab0
Merge pull request #221 from Dynamsoft/_dev
Shen-wb Oct 25, 2024
cd391f7
Update ViewController.swift (#223)
Keillion Nov 19, 2024
49e39f6
driver license use 1080P by default
Keillion Nov 20, 2024
01d1062
fixed build issue
Shen-wb Dec 5, 2024
bdb2b5b
Merge pull request #225 from Dynamsoft/_dev
Shen-wb Dec 5, 2024
544708d
Update index.html
Shen-wb Dec 9, 2024
3aef251
Merge pull request #226 from Dynamsoft/_dev
Shen-wb Dec 9, 2024
ac7ae52
fix: updated debug demo link from gh pages to demo
felixindrawan Dec 13, 2024
9be2e69
Update decodeVideo.js
DMGithubPublisher Dec 17, 2024
22baea7
Update decodeVideo.js
DMGithubPublisher Dec 17, 2024
31eabfa
Update decodeVideo.js
DMGithubPublisher Dec 17, 2024
0f0b802
Update decodeVideo.js
DMGithubPublisher Dec 17, 2024
a3a85a0
update useeffect return function
Shen-wb Dec 20, 2024
63b1670
Merge pull request #227 from Dynamsoft/_dev
Shen-wb Dec 20, 2024
623c4ad
update README
Shen-wb Dec 20, 2024
5bd465a
Merge pull request #228 from Dynamsoft/_dev
Shen-wb Dec 20, 2024
4cb8db5
Merge pull request #229 from Dynamsoft/_dev
Shen-wb Dec 20, 2024
2500550
Update README.md
Shen-wb Dec 20, 2024
5973094
Update README.md
Shen-wb Dec 20, 2024
9c2c3ba
Merge pull request #230 from Dynamsoft/_dev
Shen-wb Dec 20, 2024
a31e908
fix: remove useCallback on ImageDecode components for React and Next
felixindrawan Dec 20, 2024
11897e0
fix: rename to decodeImage
felixindrawan Dec 20, 2024
4594728
fix: remove css and rename files
felixindrawan Dec 20, 2024
0c9ec38
UPDATE
Shen-wb Dec 23, 2024
fa9e06d
Merge pull request #232 from Dynamsoft/_dev
Shen-wb Dec 23, 2024
fa03aed
Merge branch 'main' into fix/react-callback
Shen-wb Dec 23, 2024
6285eba
Merge pull request #231 from Dynamsoft/fix/react-callback
Shen-wb Dec 23, 2024
e6970a7
rename
Shen-wb Dec 23, 2024
cb3cd20
Merge branch 'main' into _dev
Shen-wb Dec 23, 2024
2a5530c
Merge pull request #233 from Dynamsoft/_dev
Shen-wb Dec 23, 2024
fc43d21
Update ImageCapture.tsx
Shen-wb Dec 23, 2024
9dcf1ee
Merge pull request #234 from Dynamsoft/_dev
Shen-wb Dec 23, 2024
487376b
update hello-world README
a362758199 Dec 26, 2024
06b6341
Update ImageCapture.tsx
a362758199 Dec 26, 2024
3a82f5b
Update README.md
a362758199 Dec 26, 2024
1b9dfc4
Merge pull request #235 from Dynamsoft/README_brunch
Shen-wb Dec 26, 2024
712d969
Merge pull request #236 from Dynamsoft/_dev
Shen-wb Dec 26, 2024
174a1e9
use 'ReadBarcodes_ReadRateFirst' in image reading
a362758199 Dec 30, 2024
8affe83
Merge pull request #237 from Dynamsoft/_dev
Shen-wb Dec 30, 2024
a00bbb3
update to 10.4.3100
Shen-wb Jan 3, 2025
7088511
Merge pull request #238 from Dynamsoft/_dev
Shen-wb Jan 3, 2025
4f9e40b
Update index.html
Shen-wb Jan 3, 2025
539648c
Merge pull request #239 from Dynamsoft/_dev
Shen-wb Jan 3, 2025
bb4d509
Update index.html
Shen-wb Jan 3, 2025
a83aa05
Merge pull request #240 from Dynamsoft/_dev
Shen-wb Jan 3, 2025
f975645
fix: remove componentShouldUpdate
felixindrawan Mar 3, 2025
9d79bfe
Update index.html
Shen-wb Mar 19, 2025
5e29d10
Add prompt
a362758199 Mar 19, 2025
41e3cc8
Merge pull request #241 from Dynamsoft/_dev
a362758199 Mar 19, 2025
20fb72b
add BarcodeScanner samples
Shen-wb Apr 18, 2025
540f8e3
dbs -> barcdoe-scanner
Shen-wb Apr 18, 2025
be7639e
update
Shen-wb Apr 18, 2025
8b980e4
Update hello-world.html
Shen-wb Apr 18, 2025
46d959c
update
Shen-wb Apr 18, 2025
7b87bce
update README
a362758199 Apr 21, 2025
67b9b0e
Update sample index
a362758199 Apr 21, 2025
464ddad
alert
Shen-wb Apr 23, 2025
7b32010
Updated readme for new samples a bit and added comments
Tom-Dynamsoft Apr 24, 2025
e94277a
adds one sample for shopping cart simulation
Tom-Dynamsoft Apr 24, 2025
66b9584
Updated readme and more for the new sample
Tom-Dynamsoft Apr 24, 2025
a98a10b
add numbers to sample list
Tom-Dynamsoft Apr 24, 2025
8e6afd6
better comment
Tom-Dynamsoft Apr 24, 2025
154a12c
updated code a bit
Tom-Dynamsoft Apr 24, 2025
8d22296
UPDATE
Shen-wb Apr 24, 2025
b5420d3
change template
Shen-wb Apr 24, 2025
64fc305
add comment
Shen-wb Apr 24, 2025
dddf506
update version number
Shen-wb Apr 24, 2025
6a7bb3e
update index
a362758199 Apr 24, 2025
b695bda
Merge branch '_dev'
Shen-wb Apr 24, 2025
b251ae2
Update hello-world.html
Shen-wb Apr 24, 2025
a0c0f75
Merge pull request #243 from Dynamsoft/_dev
Shen-wb Apr 24, 2025
8e73d7b
Update cart-builder.html
Shen-wb Apr 24, 2025
411a682
Merge pull request #244 from Dynamsoft/_dev
Shen-wb Apr 24, 2025
68ecd48
Update App.tsx
Shen-wb Apr 24, 2025
6ad8865
Merge pull request #245 from Dynamsoft/_dev
Shen-wb Apr 24, 2025
bf06261
update public trial
Shen-wb Apr 24, 2025
5b22158
Merge pull request #246 from Dynamsoft/_dev
Shen-wb Apr 24, 2025
54bb6e4
diff run and src
Keillion Apr 27, 2025
373e4a2
Merge pull request #247 from Dynamsoft/main
a362758199 Apr 27, 2025
632f723
add engineResourcePath setting for self hosting
a362758199 Apr 27, 2025
4a0c896
fix link; only html required, no script
Keillion Apr 27, 2025
0b085b9
update resource path
a362758199 Apr 28, 2025
826defc
update blazor
a362758199 Apr 28, 2025
a2d7fed
fix: break link
Keillion Apr 28, 2025
d4eaf8f
Update the comment about self-host (#248)
a362758199 Apr 28, 2025
87b8851
Blazor -> blazor
Keillion Apr 28, 2025
0c4aa00
Merge branch 'main' of https://github.com/Dynamsoft/barcode-reader-ja…
Keillion Apr 28, 2025
3da27ce
Merge pull request #249 from Dynamsoft/main
a362758199 Apr 28, 2025
9316570
update README for local serve
a362758199 Apr 29, 2025
7d219d4
update version
a362758199 Apr 30, 2025
941b1f7
remove log in doc site
Keillion May 8, 2025
2703e7f
Update README.md
Justin-dynamsoft Jun 18, 2025
c6ddce9
Merge pull request #250 from Justin-dynamsoft/patch-1
Shen-wb Jun 18, 2025
bd92d0c
UPDATE v11
Shen-wb Jun 25, 2025
4397173
UPDATE v11
Shen-wb Jun 26, 2025
c2bdf09
UPDATE v11
Shen-wb Jun 26, 2025
15a3c68
Update scan-and-search.html
Shen-wb Jun 26, 2025
67d9537
Merge branch '_dev' of https://github.com/Dynamsoft/barcode-reader-ja…
a362758199 Jun 26, 2025
c8b732a
update for v11
a362758199 Jun 26, 2025
2e1e541
Update cart-builder.html
Shen-wb Jun 30, 2025
68a2e52
Merge branch '_dev' of https://github.com/Dynamsoft/barcode-reader-ja…
Shen-wb Jun 30, 2025
fcc201f
Update cart-builder.html
Shen-wb Jul 1, 2025
3c89384
Update cart-builder.html
Shen-wb Jul 1, 2025
758347e
Update cart-builder.html
Shen-wb Jul 1, 2025
5e717eb
Update cart-builder.html
Shen-wb Jul 4, 2025
c306fdc
Update scan-and-search.html
Shen-wb Jul 4, 2025
827b60d
Update cart-builder.html
Shen-wb Jul 4, 2025
b26beba
update comment
a362758199 Jul 4, 2025
42efa36
update header & trial license
a362758199 Jul 4, 2025
50e5226
update links
a362758199 Jul 4, 2025
fad93b6
update title
a362758199 Jul 4, 2025
32bb663
fix title
a362758199 Jul 8, 2025
d26cb51
Update App.vue
Shen-wb Jul 9, 2025
2d00430
Merge branch '_dev' of https://github.com/Dynamsoft/barcode-reader-ja…
Shen-wb Jul 9, 2025
b85a0ef
Update app.component.ts
Shen-wb Jul 9, 2025
5f2bf81
Update video-capture.component.ts
Shen-wb Jul 9, 2025
a7c8c5c
Update dynamsoft.config.ts
Shen-wb Jul 9, 2025
ea7cb11
update version
a362758199 Jul 9, 2025
103629a
UPDATE
Shen-wb Jul 9, 2025
47efd89
Merge branch '_dev' of https://github.com/Dynamsoft/barcode-reader-ja…
Shen-wb Jul 9, 2025
51435d3
UPDATE
Shen-wb Jul 9, 2025
3126f8c
Update read-an-image.html
Shen-wb Jul 9, 2025
d0357d8
update readme
a362758199 Jul 9, 2025
ac301df
update README
a362758199 Jul 9, 2025
252ba35
update readme
a362758199 Jul 9, 2025
ddca4be
Remove useless comments
a362758199 Jul 9, 2025
37acff6
UPDATE
Shen-wb Jul 9, 2025
af20424
Merge branch '_dev' of https://github.com/Dynamsoft/barcode-reader-ja…
Shen-wb Jul 9, 2025
e78fea5
update blazor readme
a362758199 Jul 9, 2025
4d2fdec
update electron readme
a362758199 Jul 9, 2025
e51e3ef
Merge pull request #251 from Dynamsoft/_dev
Shen-wb Jul 9, 2025
8bd3721
add new samples
Shen-wb Aug 4, 2025
18f5093
UPDATE
Shen-wb Aug 4, 2025
f692d4e
Update index.html
Shen-wb Aug 4, 2025
65edc46
Update index.html
Shen-wb Aug 5, 2025
91a90eb
add readme for new samples
a362758199 Aug 6, 2025
22dcff6
update assets
a362758199 Aug 7, 2025
dd03f75
update utilizedTemplateNames used in different modes
a362758199 Aug 7, 2025
e004226
remove `showPowerByDynamsoft` comment
a362758199 Aug 11, 2025
f925fa7
11.0.6000
Shen-wb Aug 14, 2025
ea58abe
11.0.6000
Shen-wb Aug 14, 2025
47a60a1
11.0.6000
Shen-wb Aug 14, 2025
1e42e38
Update service-worker.js
Shen-wb Aug 14, 2025
866b48b
Update package.json
Shen-wb Aug 14, 2025
3abd7ee
Update package.json
Shen-wb Aug 14, 2025
e019336
Merge pull request #255 from Dynamsoft/_dev
Shen-wb Aug 14, 2025
c8f96a8
update index page
a362758199 Aug 14, 2025
17584c7
Merge pull request #256 from Dynamsoft/_dev
Shen-wb Aug 14, 2025
7d9826f
update readme
a362758199 Aug 14, 2025
b1b1b9b
Merge pull request #258 from Dynamsoft/_dev
a362758199 Aug 14, 2025
afae1f6
Update index.html
Ben-Dynamsoft Aug 18, 2025
d011127
Merge pull request #260 from Ben-Dynamsoft/patch-2
Tom-Dynamsoft Aug 20, 2025
a47215a
add more samples to rtu
Keillion Aug 29, 2025
1ed3648
add more sample link in readme
Keillion Sep 2, 2025
3971e8f
Shallower folder hierarchies
Keillion Sep 2, 2025
5290e1f
Add links for new framework samples
a362758199 Sep 2, 2025
8a2f441
add framework logo
a362758199 Sep 2, 2025
ace3760
fix prompt message
a362758199 Sep 2, 2025
b4f2df0
fix canonical URL
a362758199 Sep 3, 2025
5378c14
relative base url
Keillion Sep 12, 2025
8b70eae
dist/ui/barcode-scanner.ui.xml
Keillion Sep 15, 2025
8c9e700
Update README.md
Keillion Sep 15, 2025
91bd609
restructure sample folder
a362758199 Sep 28, 2025
52b8c5a
add use-case samples
a362758199 Oct 29, 2025
d0eae55
add Readmes
a362758199 Oct 29, 2025
91ebb37
update template
a362758199 Oct 30, 2025
6e2d330
fix: wrong paths identified and fixed
Tom-Dynamsoft Oct 30, 2025
5842ad8
feat: improved the index page
Tom-Dynamsoft Oct 31, 2025
2adb139
gs1ai rtu sample
Keillion Oct 31, 2025
5b2fb7c
Update main.yml
Keillion Oct 31, 2025
2bd33c5
add readmes
a362758199 Oct 31, 2025
06edb94
Merge branch '2025_Nov_re-structure' of https://github.com/Dynamsoft/…
a362758199 Oct 31, 2025
9f6e5ed
update template
a362758199 Oct 31, 2025
e5ec7b8
fix scan-any-code template
a362758199 Nov 3, 2025
14cd7aa
update sample list
a362758199 Nov 3, 2025
fc84053
update sample index
a362758199 Nov 3, 2025
0c36fb6
support CC-B
Keillion Nov 5, 2025
65f7fe5
Update main.yml
DMGithubPublisher Nov 5, 2025
c18ac91
update anycode sample
a362758199 Nov 5, 2025
087b705
update index page links
a362758199 Nov 5, 2025
cdbc2ec
fix links in the index page
a362758199 Nov 6, 2025
f959171
remove space
a362758199 Nov 7, 2025
7d9dec0
update version to 11.2.4000
a362758199 Nov 11, 2025
aec536e
update READMEs
a362758199 Nov 11, 2025
0ecd174
add build artifacts to .gitignore
Tom-Dynamsoft Nov 13, 2025
7c0cdb8
add missing scan-datamatrix-code scenario to README
Tom-Dynamsoft Nov 14, 2025
a317e6f
Refactor index.html: add README links, fix cursor styling, remove dea…
Tom-Dynamsoft Nov 14, 2025
6e5440d
Fix duplicate project names and Android applicationId conflicts
Tom-Dynamsoft Nov 15, 2025
815e55b
Update dependencies to fix security vulnerabilities
Tom-Dynamsoft Nov 15, 2025
adb473f
add VIN sample folder
a362758199 Nov 18, 2025
caa3972
update emoticon
a362758199 Nov 18, 2025
ef899b3
Update demo link to use relative path for scanning common 2D codes
a362758199 Nov 19, 2025
a970749
Enhance tooltip styling for better visibility
a362758199 Nov 19, 2025
4f4b545
update sample
Shen-wb Nov 20, 2025
984a330
Merge branch '2025_Nov_re-structure' of https://github.com/Dynamsoft/…
Shen-wb Nov 20, 2025
30c7c6c
add example driver's license image
a362758199 Nov 20, 2025
fea600c
Merge branch 'main' into 2025_Nov_re-structure
Justin-dynamsoft Nov 24, 2025
8a90418
remove duplicate files
a362758199 Nov 24, 2025
1a3bfce
review merge from main
Keillion Nov 24, 2025
6d4b460
Update read-an-image.html description
Justin-dynamsoft Nov 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
password: ${{ secrets.FTP_DEMO_PASSWORD }}
port: 21
local-dir: /home/ubuntu/barcode-reader-javascript-samples/
server-dir: /Demo.dynamsoft.com/Samples/DBR/JS/
server-dir: /Demo.dynamsoft.com/Samples/DBR/JS/
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ yarn.lock
/.gitattributes
/.*ignore

# Build artifacts
obj/
.gradle/

!bower.json
!composer.json
!package.js
99 changes: 37 additions & 62 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,75 +31,50 @@ A default license is included which allows you to test the sample apps for up to

## Documentation

For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/?ver=11.0.6000&utm_source=sampleReadme).
For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/?ver=11.2.4000&utm_source=sampleReadme).

## Support

If you have any questions, feel free to [contact Dynamsoft support](https://www.dynamsoft.com/company/contact?utm_source=sampleReadme).

## Sample list

### Barcode Scanner API samples

**Scan single barcode**

Get the basic features working with plain/native JavaScript or within a framework like [Angular](https://angular.io/), [React](https://reactjs.org/) or [Vue](https://vuejs.org/), with RTU-BarcodeScanner APIs.

* [**Scan Single Barcode**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/hello-world.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?utm_source=sampleReadme): Scan single barcode from video stream with minimum code in JavaScript.
* [**Scan And Search**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/scan-and-search.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-single-barcode/scan-and-search.html?utm_source=sampleReadme): Scan a barcode to retrieve the relevant product information from the database in JavaScript.
* [**Pick One to Fill**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/pick-one-to-fill/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-single-barcode/pick-one-to-fill/index.html?utm_source=sampleReadme): Pick one and auto-fill fields by simply opening the camera and scanning a group of barcodes.
* [**Use Customized Template**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/use-customized-template/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-single-barcode/use-customized-template/index.html?utm_source=sampleReadme): Use different customized templates for scanning various barcode types.
* [**Read and Parse GS1-AI**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/read-and-parse-GS1-AI/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-single-barcode/read-and-parse-GS1-AI/index.html?utm_source=sampleReadme): Read GS1 Application Identifier (AI) barcode and parse its structured data.
* [**Hello World in Angular**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/angular): Read single barcode from camera in an Angular application.
* [**Hello World in React**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/react): Read single barcode from camera in a React application.
* [**Hello World in Vue**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/vue): Read single barcode from camera in a Vue application.
* [**Hello World in Svelte**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/svelte): Read single barcode from camera in a Svelte application.
* [**Hello World in Capacitor**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/capacitor): Read single barcode from camera in a Capacitor application.
* [**Hello World in Webview**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/webview): Read single barcode from camera in a Webview application.
* [**Hello World in Typescript**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/native-ts): Read single barcode from camera in a Typescript application.
* [**Hello World in Electron**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/electron): Read single barcode from camera in a Electron application.
* [**Hello World in Blazor**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/blazor): Read single barcode from camera in a Blazor application.
* [**Hello World in RequireJS**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/requirejs.html): Read single barcode from camera in a RequireJS application.
* [**Hello World in ES6**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/es6.html): Read single barcode from camera in a ES6 application.
* [**Hello World in PWA**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/pwa): Read single barcode from camera in a PWA application.

**Scan multiple barcodes**

* [**Scan Multiple Barcodes**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/barcode-scanner-api-samples/scan-multiple-barcodes/hello-world.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-multiple-barcodes/hello-world.html?utm_source=sampleReadme): Scan barcodes from video stream with minimum code in JavaScript.
* [**Cart Builder**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/barcode-scanner-api-samples/scan-multiple-barcodes/cart-builder.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-multiple-barcodes/cart-builder.html?utm_source=sampleReadme): Simulates a shopping experience where users scan barcodes to add items to a dynamic cart in JavaScript.
* [**Batch Inventory**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/barcode-scanner-api-samples/scan-multiple-barcodes/batch-inventory/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-multiple-barcodes/batch-inventory/index.html?utm_source=sampleReadme): An inventory management tool scan barcodes in batches and provide real-time analysis of the scanned data.

### Foundational API samples

**Hello World**

Get the basic features of the library working with plain/native JavaScript or within a framework like [Angular](https://angular.io/), [React](https://reactjs.org/) or [Vue](https://vuejs.org/), etc.

* [**Hello World**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/hello-world.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/hello-world/hello-world.html?utm_source=sampleReadme): Scan barcodes from video stream with minimum code in JavaScript.
* [**Read an Image**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/read-an-image.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/hello-world/read-an-image.html?utm_source=sampleReadme): Decode barcodes from images in mobile album or desktop file system.
* [**Hello World in Angular**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/angular#readme): Read barcodes from camera and images in an Angular application.
* [**Hello World in Blazor**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/blazor#readme): Read barcodes from camera and images in a Blazor application.
* [**Hello World in React**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/react#readme): Read barcodes from camera and images in a React application.
* [**Hello World in React using Hooks**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/react-hooks#readme): Read barcodes from camera and images in a React application and use the Hooks charactor of React.
* [**Hello World in Vue**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/vue#readme): Read barcodes from camera and images in a Vue 3 application.
* [**Hello World in Next.js**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/next#readme): Read barcodes from camera and images in a Next.js application.
* [**Hello World in Nuxt**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/nuxt#readme): Read barcodes from camera and images in a Nuxt application.
* [**Hello World in Electron**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/electron#readme): Read barcodes from camera and images in a Electron application.
* [**Hello World in PWA**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/pwa#readme): Decode video stream in a PWA application from a webcam or a built-in camera.
* [**Hello World with RequireJS**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/requirejs.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/hello-world/requirejs.html?utm_source=sampleReadme): Decode video stream in an application using RequireJS from a webcam or a built-in camera.
* [**Hello World with ES6**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/es6.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/hello-world/es6.html?utm_source=sampleReadme): Decode video stream in an application using ES6 from a webcam or a built-in camera.
* [**Hello World in WebView**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/hello-world/webview): Decode video stream in an application in WebView from camera.

***Use Cases***

* [**Read Video and Fill a Form**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/use-case/fill-a-form-with-barcode-reading.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/use-case/fill-a-form-with-barcode-reading.html?utm_source=sampleReadme): Read barcodes to fill a form.
* [**Read a Driver's License**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/use-case/read-a-drivers-license/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/use-case/read-a-drivers-license/index.html?utm_source=sampleReadme): Read the PDF417 barcode on a driver's license (AAMVA compliant) and parse it.
* [**Show Result Texts on the Video**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/use-case/show-result-texts-on-the-video.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/use-case/show-result-texts-on-the-video.html?utm_source=sampleReadme): Read barcodes via camera and show result texts on the video.
* [**Locate an Item with Barcode**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/use-case/locate-an-item-with-barcode/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/use-case/locate-an-item-with-barcode/index.html?utm_source=sampleReadme): Find a specific item in a large collection by scanning its unique barcode

***Others***

* [**Debug**](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/others/debug#readme): Collect the actual image frames for debugging purposes.
### Frameworks

- [angular/](./frameworks/angular/) — Angular examples.
- [blazor/](./frameworks/blazor/) — Blazor (.NET) examples.
- [capacitor/](./frameworks/capacitor/) — Capacitor mobile hybrid examples.
- [electron/](./frameworks/electron/) — Electron desktop examples.
- [es6/](./frameworks/es6/) — Plain ES6 module examples.
- [native-ts/](./frameworks/native-ts/) — Native TypeScript examples.
- [next/](./frameworks/next/) — Next.js examples.
- [nuxt/](./frameworks/nuxt/) — Nuxt examples.
- [pwa/](./frameworks/pwa/) — Progressive Web App examples.
- [react/](./frameworks/react/) — React examples.
- [requirejs/](./frameworks/requirejs/) — RequireJS (AMD) examples.
- [svelte/](./frameworks/svelte/) — Svelte examples.
- [vue/](./frameworks/vue/) — Vue examples.
- [webview/](./frameworks/webview/) — Native WebView examples for Android/iOS.

### Scenarios

- [pick-one-to-fill/](./scenarios/pick-one-to-fill/) — Picking the correct one from multiple candidates by scanning barcodes.
- [cart-builder/](./scenarios/cart-builder/) — Single-page demo illustrating adding scanned items into a shopping cart.
- [scan-and-search/](./scenarios/scan-and-search/) — Example that scans a barcode and performs a lookup/search operation.
- [show-result-texts-on-the-video/](./scenarios/show-result-texts-on-the-video/) — Overlay decoded text on live video while scanning.
- [batch-inventory/](./scenarios/batch-inventory/) — Batch scanning workflow for inventory collection and export.
- [read-a-drivers-license/](./scenarios/read-a-drivers-license/) — Demo for reading and parsing a driver's license image/data.
- [read-vin/](./scenarios/read-vin/) — Demo for reading and parsing a VIN(vehicle identification number) code.
- [read-and-parse-GS1-AI/](./scenarios/read-and-parse-GS1-AI/) — Example showing GS1 AI parsing and data extraction.
- [scan-qr-code/](./scenarios/scan-qr-code/) — QR code targeted demo and settings.
- [scan-common-1D-and-2D/](./scenarios/scan-common-1D-and-2D/) — Demo configured to detect a wide range of barcode formats.
- [scan-common-2D-codes/](./scenarios/scan-common-2D-codes/) — Focused on common 2D barcode formats decoding.
- [scan-datamatrix-code/](./scenarios/scan-datamatrix-code/) — DataMatrix code targeted demo with optimized settings.
- [scan-1D-Retail/](./scenarios/scan-1D-Retail/) — 1D retail barcode tuning example.
- [scan-1D-Industrial/](./scenarios/scan-1D-Industrial/) — 1D industrial barcode tuning example.
- [scan-from-distance/](./scenarios/scan-from-distance/) — Demo for scanning barcodes from a distance (zoom/ROI tuning).
- [locate-an-item-with-barcode/](./scenarios/locate-an-item-with-barcode/) — UI to help locate items with barcodes in a list or layout.
- [debug/](./scenarios/debug/) — Debug utilities and a small server (frame collector) used for testing and troubleshooting.

### Official Online Demo

Expand Down
Loading