TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

How to design a Twain DS for a web cam

Forums › TWAIN Classic › How to design a Twain DS for a web cam

  • This topic has 2 replies, 3 voices, and was last updated 4 years, 12 months ago by Spryan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 5, 2015 at 10:39 am #23028 Reply
    dhruv093
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    I would like to make a Twain data source for use with a web cam we use as part of our application.

    We have been using a universal driver called Videods.ds which is usually ok but as it saves a temp file to the root of “C” it cant be used on tightly controlled computers.

    We would like to write our own Twain data source file so we can simply drop the *.ds file into the Windowstwain32 folder, select it from our application.

    We DO NOT want to talk to the web cam directly form our application as we often change web cams as companies like Logitech tend to drop older models quite regularly.

    Please suggest. ❓ ❓

    August 14, 2015 at 5:54 pm #26306 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    Hmm. A TWAIN driver is a complicated animal. Maybe the guy who wrote videods.ds would sell or give you the source code.
    Wait, that’s me. 8)

    In fact looking at my own notes, that problem with the temp file was fixed, supposedly, in VideoDS version 1.06 back in 2009.

    So I’m attaching a 1.06 copy of VideoDS.ds for you to try, and a .zip of the latest source code in case you want to try rebuilding or customizing it.

    Obviously all the usual disclaimers apply – this code comes with no warranty express or implied, you are entirely responsible for anything you do with it and any consequences thereof.

    January 27, 2016 at 2:20 pm #26307 Reply
    Spryan
    Participant
    • Topics - 0
    • Replies - 1
    • Total Posts - 1

    Hi spike,

    Not sure if you will see this since it is a pretty old thread! I appreciate you making available VideoDS driver. I am using it to live stream and capture an 1920X1080p image into a patient management system. It works great other than a couple of issues. Once I go into Acquire mode, the Video DataSource preview window comes up with a live image from my HD camera. The first time I brought it up, it correctly identified the image stream as 1920X1080. However, I went exploring and under the Format button clicked on the resolution drop down. I noticed it did not have a selectable resolution higher than 720X576. I unwisely selected that resolution and of course my live display and captures are now at that resolution. I have been unable to get VideoDS to forget this selected resolution and go back to displaying and capturing in my cameras native 1920X1080. I have tried removing the VideoDS.ds file, restarting the computer and then reinstalling it. I’m guessing it has something to do with Microsoft wdm image capture application being used by VideoDS, but I am unable to find any way to override this resolution setting and get back to 1920X1080. Also, I am running Win 7 Pro and occasionally, when I go to aquire, it errors out with some kind of message saying it stopped working. Any suggestions you can provide to help me get back to 1920X1080 capture would be greatly appreciated! Thanks

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to design a Twain DS for a web cam
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.