I need to know how to capture and save image and why camera position is
incorrect.
that's my code :
Bitmap bitmap;
private void Form1_Load(object sender, EventArgs e)
{
FilterInfoCollection videoDevices = new FilterInfoCollection( FilterCategory.VideoInputDevice );
VideoCaptureDevice videoSource = new VideoCaptureDevice( videoDevices[0].MonikerString );
videoSource.NewFrame += new NewFrameEventHandler( video_NewFrame );
videoSource.Start( );
}
private void video_NewFrame( object sender, NewFrameEventArgs eventArgs )
{
Bitmap bitmap = (Bitmap)eventArgs.Frame.Clone();
pictureBox1.Image = bitmap;
}
Original issue reported on code.google.com by mido.k....@gmail.com on 2 Feb 2012 at 9:58
Original issue reported on code.google.com by
mido.k....@gmail.com
on 2 Feb 2012 at 9:58Attachments: