public bool Start(Guid cameraGuid)
{
int w = 0, h = 0;
_camera = CLEyeCreateCamera(cameraGuid, ColorMode, Resolution, Framerate);
if (_camera == IntPtr.Zero)
return false;
CLEyeCameraGetFrameDimensions(_camera, ref w, ref h);
if (ColorMode == CLEyeCameraColorMode.CLEYE_COLOR_PROCESSED || ColorMode == CLEyeCameraColorMode.CLEYE_COLOR_RAW)
{
uint imageSize = (uint)w * (uint)h * 4;
}
else
{
uint imageSize = (uint)w * (uint)h;
}
CLEyeCameraStart(_camera);
return true;
}