none
Still Image capture in VB.net (Using a WEBCAM)

    Question


  • I would really like to get some VB.net program code for still image capturing using a Webcam.
    I've searched the web for quite a while now but did not get any codes. Currently i have a code for capturing video. In that  code an image can be captured, but only with 640 X 480 resolution (Maximum Video resolution for my web camera). The WM_CAP_DLG_VIDEOFORMAT dialog box only allows the resolution to be set up to 640 X 480.

    I want to capture images in 1024 X 768 resolution (Mega pixel level)

    I found out a new way using WPD_COMMAND_STILL_IMAGE_CAPTURE
    But i cannot still work with it

    Would any one be kind enough to give me some sample code for capturing images in a higher resolution.

    Thanks..
    Monday, May 28, 2007 7:09 PM

Answers

  • Hi Indrajith,

      There are some references on this issue:

      A solution to capture video and frames simultaneously:

      Capture Sample with DirectX and .NET http://www.codeproject.com/directx/CapSample1.asp

     

      This article describes how to use DirectShow.NET in VB.NET

      Webcam using DirectShow.NET http://www.codeproject.com/vb/net/WebcamUsingDirectShowNET.asp

     

      The avicap32.dll contains functions for connecting to and listing available video capture device on your system.

      Capture video from a video device such as a Webcam with VB .NET

      http://www.vb-helper.com/howto_net_video_capture.html

     

      This programming example (VB.NET) shows how to capture AVI files and JPEG images using IC Imaging Control simultaneously.

      Image and AVI Capture http://www.imagingcontrol.com/library/dotnet/section/video-aquisition/example/image-and-avi-capture/

     

    Hope they can help you!

    Thanks!

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Friday, June 01, 2007 6:41 AM

All replies