public Capture CamInput = new Capture();
public Image<bgr,> frame;
public Image<bgr,> render;
public byte[] ImageCapture;
frame = CamInput.QueryFrame();
pictureBox1.Image = frame.ToBitMap(pictureBox1.Width, pictureBox1.Height);
ImageCapture = frame.Bytes;