public override void Stop() { ImgP.StopImageReceiver(); CamLight.StopLight(); MotSensor.StopMotionSensor(); CamDriver.DisconnectCamera(); }
public override void Start() { CamDriver.ConnectCamera(); ImgP.StartImageReceiver(); SoundP.StartSoundReceiver(); SoundP.SetVolume(0.5f); }
public override void Start() { CamDriver.ConnectCamera(); ImgP.StartImageReceiver(); ImgP.EnableFilter(); CamLight.StartLight(); MotSensor.StartMotionSensor(); }
public RaspberryCamVideoStreamPhotoMaker() { var cameras = Cameras.DeclareDevice() .Named("Camera 1") .WithDevicePath("/dev/video0") .Memorize(); this.cameraDriver = cameras.Get("Camera 1"); this.cameraDriver.StartVideoStreaming(this.pictureSize); }
public override void Stop() { ImgP.StopImageReceiver(); SoundP.StopSoundReceiver(); CamDriver.DisconnectCamera(); }
private RaspberryCamera() { camDriver = new CamDriver("/dev/video0"); }