Skip to content

Commit 2c7d1a0

Browse files
committed
2 parents 357888a + ec765ef commit 2c7d1a0

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

5.others/debug/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1-
# Quick debug
1+
# Debug Sample
22

3-
https://dynamsoft.github.io/barcode-reader-javascript-samples/5.others/debug/public/index.html
3+
It's a sample aim to:
44

5-
# Collect runtime images for debugging
5+
1. Print verbose logs to better assist in problem solving.
6+
2. Check whether your device and browser are compatible with the camera, and to what extent.
7+
3. Collect the video frames for analysis.
8+
9+
*Quick Debug*: https://dynamsoft.github.io/barcode-reader-javascript-samples/5.others/debug/public/index.html
10+
11+
## Collect the video frames for analysis
612

713
When you encounter unreadable barcodes via a video input, you can use this sample to take a few sample frames to share with the Dynamsoft Support Team for debugging purposes.
814

915
Since the video is usually playing on mobile devices, having these frames uploaded to a self-hosted local server is most convenient, the following shows how to use the sample.
1016

11-
## Set up a local server
17+
### Set up a local server
1218

1319
We make use of the web server that comes with [Express](https://expressjs.com/).
1420

@@ -26,7 +32,7 @@ We defined the web server logic in the file "app.js", to start it, run the follo
2632

2733
Note that we have enabled SSL on this server at the port 4443.
2834

29-
## Use the sample page
35+
### Use the sample page
3036

3137
Once the server is up and running, open the page on the device that will do the barcode reading. The URL for the sample is "https://{your-local-ip}:4443/". For example, suppose your ip is 192.168.1.1, the site can be visited at https://192.168.1.1:4443/.
3238

0 commit comments

Comments
 (0)