Skip to content

Commit 23a91af

Browse files
update to internal commit d88bf892
1 parent eeb0f3a commit 23a91af

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

_includes/sidelist-programming/programming-javascript.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,16 @@
16591659
barcodes via video in iOS 16.7 or 17?</a
16601660
>
16611661
</li>
1662+
<li>
1663+
<a href="{{ site.js }}faq/remove-duplicates.html"
1664+
>How to Reduce Duplicate Scans and Optimize Scan Usage?</a
1665+
>
1666+
</li>
1667+
<li>
1668+
<a href="{{ site.js }}faq/webcam-support-dense.html"
1669+
>Why isn't my webcam reading the barcode on my driver's license or ID card?</a
1670+
>
1671+
</li>
16621672
</ul>
16631673
</li>
16641674
<li lang="javascript"><a href="{{ site.license_activation }}index.html" class="otherLinkColour">License Initialization</a></li>

programming/javascript/faq/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,5 @@ noTitleIndex: true
8282
36. [How do I resolve the issue of the Barcode Reader not recognizing any barcodes via video in iOS 16.7 or 17?](ios-17-readability.html)
8383

8484
37. [How to Reduce Duplicate Scans and Optimize Scan Usage?](remove-duplicates.html)
85+
86+
38. [Why isn't my webcam reading the barcode on my driver's license or ID card?](webcam-support-dense.md)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
layout: default-layout
3+
title: Why isn't my webcam reading the barcode on my driver's license or ID card?
4+
keywords: Dynamsoft Barcode Reader, FAQ, tech basic, webcam, driver license, ID
5+
description: Why isn't my webcam reading the barcode on my driver's license or ID card?
6+
needAutoGenerateSidebar: false
7+
---
8+
9+
# Why isn't my webcam reading the barcode on my driver's license or ID card?
10+
11+
[<< Back to FAQ index](index.md)
12+
13+
When you attempt to read the barcode from a driver's license or an ID card using your built-in laptop webcam and our [online demo](https://demo.dynamsoft.com/barcode-reader-js/), you will notice that the barcode does not get read almost all of the time. That is due to several factors - the lack in camera quality combined with the high density of PDF417 barcodes.
14+
15+
The barcode that is present on the back of driver licenses and ID cards is usually a [PDF417 barcode](https://www.dynamsoft.com/barcode-reader/barcode-types/pdf417/), one of the most common high-density 2D barcodes. Due to its high density, PDF417s usually require a camera that supports a minimum resolution of 720p and, more importantly, has the ability to focus, whether it is autofocus or manual focus.
16+
17+
Most built-in laptop webcams these days meet the minimum required resolution of 720p - but they almost always lack the ability to focus. The ability to focus is very important as it helps pass a clear image/frame of the PDF417 code to the DBR library, making it actually readable.
18+
19+
This problem is never really encountered on mobile as most modern mobile phones these days have high quality cameras that have the ability to autofocus, so that is never really a worry with mobile phones.
20+
21+
Therefore, if you are required to use laptops to read barcodes from driver licenses in your use case, please keep this in mind. We recommend avoiding using laptop webcams as the camera input for such use cases. If you need to use laptops, then we recommend purchasing an external webcam that meets the minimum resolution (1080p is the recommended resolution, but 720p is the minimum) but more importantly, has the ability to focus. If your built-in laptop webcam does indeed have the ability top focus and you are still
22+
23+
If your built-in laptop webcam does indeed have the ability to focus and you are still struggling to read the PDF417 barcode, please let us know as we could potentially use some of the [Camera Enhancer API]({{site.dce_js_api}}index.html) to hone the focus of the camera to be suited for this use case. If you have any questions on this matter, do not hesitate to [contact us](https://www.dynamsoft.com/contact/).

0 commit comments

Comments
 (0)