Dev Center
Table of contents

Capture/Image Source

Can I hide webcam devices from the select source list?

Many webcam devices may use WIA drivers. As explained in this article, WIA drivers can also be detected by the Dynamic Web TWAIN SDK. If you need to exclude webcam/camera devices, you can try using GetDeviceType API to verify if a source is a scanner or not. If not, you can skip it from your source list.

Please note that you would need to call OpenSource API to open a source before you can inspect its device type. If there are any offline devices in the source name list, this process would be interrupted.

Another workaround is to exclude some sources by detecting certain keywords from the source name list. E.g. you can try to exclude any source names with ‘camera’ or ‘webcam’. Please refer to this FAQ for more details.

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version
    • Version 17.1.1
    • Version 17.0
    • Version 16.2
    • Version 16.1.1
    Change +
    © 2003–2022 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support