Пример #1
0
 public CLEyeCameraImage()
 {
     Device = new CLEyeCameraDevice();
     Device.BitmapReady += OnBitmapReady;
 }
Пример #2
0
 public CLEyeCameraImage()
 {
     Device              = new CLEyeCameraDevice();
     Device.BitmapReady += OnBitmapReady;
 }
Пример #3
0
        public void Initialize(CameraModel camera)
        {
            _camera = camera;
            Device = new CLEyeCameraDevice();
            Device.BitmapReady += Device_BitmapReady;
            Device.Resolution = CLEyeCameraResolution.CLEYE_VGA;
            Device.ColorMode = CLEyeCameraColorMode.CLEYE_COLOR_RAW;
            //CLEYE_QVGA - 15, 30, 60, 75, 100, 125
            //CLEYE_VGA - 15, 30, 40, 50, 60, 75
            Device.Framerate = 60;
            _camera.GUID = CLEyeCameraDevice.CameraUUID(_camera.TrackerId).ToString();

            ConsoleService.Write(string.Format("[Camera, {0}] Initialized", _camera.GUID));
        }