Hi Guys,
I have built a simple OF project where i look for change in an incomming image. I use a playstation eye with a wide angle lens. Im using the CL-eye driver on windows 7.
I get a problem in my runtime after a couple of hours, where my image gets offset in the horizontal direction.
The error looks like this:
Im initializing the camera using this snippet:
vidGrabber.setDeviceID(0);
vidGrabber.setDesiredFrameRate(60);
vidGrabber.initGrabber(camWidth,camHeight);
And grab the picture using this snippet:
vidGrabber.update();
if (vidGrabber.isFrameNew()){
unsigned char * pixels = vidGrabber.getPixels();
colorImg.setFromPixels(pixels, camWidth, camHeight);
}
Do you have any idea on what might be causing this issue? Could it be a hardware or driver issue?
Kind regards
Jesper