Web-Cam Video frames to System.Drawing.Bitmap
- by Hooch
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?