What are the general troubleshooting steps if I fail to scan barcodes via the camera?
You may sometimes experience issues when trying to scan some barcodes using your device via the camera. There are various factors that could play into this, such as camera resolution, lighting condition(s), damage level of the barcode, or improper scanning settings.
Generally, with some setting changes via our APIs, Dynamsoft Barcode Reader JavaScript SDK is able to adapt to your unique usage scenario and deliver great performance.
Step 1 - try different scan settings with our standard online demo
-
The first thing is to try the JavaScript online demo. If the barcode is not being picked up under normal settings, let’s try out some different settings in the demo. By default, the demo runs on the Best Speed mode, which you can see under the “Scan Settings” on the left-hand side. To potentially improve the performance, we recommend trying out the two other available modes in the demo: Balance or Best Coverage. Best Coverage will prioritize read rate over speed, while Best Speed will prioritize speed over accuracy or read rate. Balance offers the perfect mixture between the two.
NOTE: To learn more about scan modes, please visit the updateRuntimeSettings API page.
-
Enable Full HD resolution in the demo
NOTE: If the barcode is decoded, then you can output the settings and use that setting template via the
updateRuntimeSettings
method. If the barcode still can’t be decoded via the online demo, then move on to step 2.
Step 2 - capture image frames and send to Dynamsoft for analysis
-
Go to JavaScript online demo debug mode -> Click “START SCAN” -> Click the “capture video frames” button at the top to capture video frames.
-
Share the video frames set with Dynamsoft Support team. Our support team will investigate the video frames and get back to you with a solution as soon as possible.