Access digital camera

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stupid48

    Access digital camera

    I have this Pentax Optio camera and I want to access it via vb.net. I
    would like to write something where I can snap the picture from the
    application and it automatically acquires the image from the camera and
    displays it. I found a couple sample apps out there. One is a WIA app
    but it does not see my camera. One is a TWAIN application and it also
    does not see my camera. I do not see any drivers on Pentax's site that
    talk about WIA or TWAIN. The camera just shows up as a removeable
    disk. What method would I use to access this camera using .NET? I
    though maybe it was DirectX but didn't find anything on it.

    Thanks for any help.....

    Chris

  • Carlos J. Quintero [VB MVP]

    #2
    Re: Access digital camera

    The mapped removable drive only allows you to get/save pictures from the
    camera memory and TWAIN was intended for scanners, way before digital
    cameras appeared, so I think that the only ways are:

    - Using WIA, as shown in this example:



    WIA is intended for scanners and cameras, but if yours doesn´t appear maybe
    is not compatible or maybe you need to install some software/driver from the
    camera CD-ROM. Notice that in one of the images of the sample you can see an
    scanner and two cameras as devices.

    - Using the native driver of the camera. Most cameras provide a software to
    do exactly what you want, and they must be using some proprietary driver if
    they are not using something standard.

    --

    Best regards,

    Carlos J. Quintero

    MZ-Tools: Productivity add-ins for Visual Studio
    You can code, design and document much faster:
    MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.



    "Stupid48" <cf_rich@hotmai l.com> escribió en el mensaje
    news:1141922423 .666207.224140@ i39g2000cwa.goo glegroups.com.. .[color=blue]
    >I have this Pentax Optio camera and I want to access it via vb.net. I
    > would like to write something where I can snap the picture from the
    > application and it automatically acquires the image from the camera and
    > displays it. I found a couple sample apps out there. One is a WIA app
    > but it does not see my camera. One is a TWAIN application and it also
    > does not see my camera. I do not see any drivers on Pentax's site that
    > talk about WIA or TWAIN. The camera just shows up as a removeable
    > disk. What method would I use to access this camera using .NET? I
    > though maybe it was DirectX but didn't find anything on it.
    >
    > Thanks for any help.....
    >
    > Chris
    >[/color]


    Comment

    • james

      #3
      Re: Access digital camera


      "Stupid48" <cf_rich@hotmai l.com> wrote in message
      news:1141922423 .666207.224140@ i39g2000cwa.goo glegroups.com.. .[color=blue]
      >I have this Pentax Optio camera and I want to access it via vb.net. I
      > would like to write something where I can snap the picture from the
      > application and it automatically acquires the image from the camera and
      > displays it. I found a couple sample apps out there. One is a WIA app
      > but it does not see my camera. One is a TWAIN application and it also
      > does not see my camera. I do not see any drivers on Pentax's site that
      > talk about WIA or TWAIN. The camera just shows up as a removeable
      > disk. What method would I use to access this camera using .NET? I
      > though maybe it was DirectX but didn't find anything on it.
      >
      > Thanks for any help.....
      >
      > Chris[/color]


      Have you tried the manufacturer's website? They may provide a programmers's
      SDK for their digital cameras.
      Canon does. It would be much easier to get something going that way.
      Without some soft of reference to the
      specific camera's controls etc. you are going to be flying around in the
      dark.
      Try starting here: http://www.digital.pentax.co.jp/en/index.php
      You may have to email them and ask if they provide an SDK for Developers
      like Canon does.
      james


      Comment

      Working...