Hello,
I cant seem to capture frames from the Ps3eye through the following
frameCam = captureFrame.QueryFrame();
it just gives me some error that its unable to capture from cam 0. I went through the c# example provided and tried to put some stuff together. It started to capture but its showing me weird stuff. Below are my codes.
public Form1()
{
InitializeComponent();
framePtr = CLEyeCreateCamera(CameraUUID(0), CLEyeCameraColorMode.CLEYE_COLOR_RAW, CLEyeCameraResolution.CLEYE_QVGA, 30);
CLEyeCameraGetFrameDimensions(framePtr, ref w, ref h);
CLEyeCameraStart(framePtr);
_ptrBmpPixels = Marshal.AllocHGlobal(640 * 480);
}
private void timer1_Tick(object sender, EventArgs e)
{
CLEyeCameraGetFrame(framePtr, _ptrBmpPixels, 500)
Bitmap bmpGraph = new Bitmap(w, h, w, PixelFormat.Format32bppRgb, _ptrBmpPixels);
pictureBox1.Image = bmpGrap;
}
May i know the simplest way to just capture and display ? also can i capture and store it in Image class object ? thanks