How to Make Dynamic Web TWAIN Work with Polymer Shadow DOM

In the past, Dynamic Web TWAIN was tightly correlated with HTML elements. It only allowed developers to use HTML element ID to initialize the image container. In the meantime, shadow DOM elements were not supported, which failed Polymer projects. Starting from the latest version 16.1, the SDK has a lower coupling. Developers can use either HTML element ID or HTML element object to initialize a Dynamic Web TWAIN object. In this article, I will share how to integrate Dynamic Web TWAIN SDK to a Polymer project for scanning documents in web browsers.

Read more

How to Fully Control Webcam Stream Params in HTML Page

If you want to open webcam stream in a web browser, what technology will you choose? Probably many developers’ answer is HTML5. Yes, with the JavaScript API getUserMedia, it will be pretty easy to open webcam within web browsers. However, the API is not supported by some old web browsers like Internet Explorer 6, 7 and 8. Besides that, the HTML5 interface cannot fully configure camera parameters such as exposure, focus and etc. Therefore, if you want to build a professional camera solution for a web project, HTML5 is not the best choice. This is why Dynamsoft made the solution. Dynamsoft Camera SDK is a JavaScript webcam SDK for Windows with DirectShow under the hood. It allows developers to quickly build online webcam viewer with a few lines of HTML and JavaScript code and fully control and adjust camera settings within web browsers.
Read more