TWAIN Web Scanner for File Upload

Is there a way to upload a file directly to a record using a javascript or HTML5 TWAIN scanner software? There are a couple of web based TWAIN scanner SDKs out there but could we use those with Knack to directly scan a file to PDF and then upload to Knack? I'm trying to facilitate the process for our users and just have them scan directly and upload the file and the same time. Anyone have any ideas?