cameras#

Picamera capture. Easy enough with Autopilot

class perceptivo.video.cameras.Picamera_Process(params: perceptivo.types.video.Picamera_Params = Picamera_Params(sensor_mode=0, resolution=(1280, 720), fps=30, format='grayscale', output_file=None), networking: Optional[perceptivo.types.networking.Socket] = None, queue_size: int = 1024, **kwargs)#

Bases: multiprocessing.context.Process, perceptivo.root.Perceptivo_Object

Separate process for the picamera

q#

Queue for the parent runtime to grab frames from the picamera.

collecting#

Event set when collecting a sample. when set, dump frames into Picamera_Process.q

run()#

Method to be run in sub-process; can be overridden in sub-class

release()#

Stop running and release picamera resources