Web-Cam Video frames to System.Drawing.Bitmap
Posted
by
Hooch
on Stack Overflow
See other posts from Stack Overflow
or by Hooch
Published on 2011-01-10T18:46:16Z
Indexed on
2011/01/10
18:53 UTC
Read the original article
Hit count: 273
Hello. I'm using AForge.NET framework to process some data from webcam. My Image processor is working.
class WebProc
{
public void Process(System.Drawing.Bitmap image)
{
....
}
}
I know how to send image from HDD.
I was thinking about something like that:
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
while(!backgroundWorker1.CancellationPending)
{
Bitmap Frame GetVidoFrameSomeWay();
WebProc.Process(Frame);
}
}
Can you help me with those questions?
- How to get frame from webcam?
- How to list all available webcam for user to chose from?
- How to open Webcam setting window?
- Is there a way to set frame size to 640x480 o user size?
© Stack Overflow or respective owner