Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Muliprocessed Picamera Class

Project description

ProcessedPiRecorder

A multiprocessed class of picamera for video recording.

Saves timestamped images to a BigTif. Can handle stereopi videostream.

Installation

  pip3 install ProcessedPiRecorder

Requires

  • tifffile - 2019.7.26
  • picamera - 1.13
  • opencv-contrib-python - 3.4.4.19
  • numpy - 1.17.0

Basic Usage

You have to initialize the recorder and then tell it when to start recording.

Initialize:

  myRecorder = ProcessedPiRecorder(x_resolution = , y_resolution = , framerate = , 
                                   rec_length = , tif_path = ,
                                   stereo=False, scale_factor=1, timestamp=True)
  • (x_resolution, y_resolution) - pixel dimensions to acquired by the sensor(s)
  • framerate - desired framerate in Hz
  • rec_length - number of seconds to record
  • tif_path - file to the output big tif file
  • stereo - if True, hflip=True, stereo_mode='side-by-side', stereo_decimate=False
  • scale_factor - sets the resize parameter at resolultion*scale_factor
  • timestamp - if True, all frames are timestapmed at aquisition

Run

  myRecorder.recordVid()

Contributors

This code was written and is maintained by Matt Davenport (mdavenport@rockefeller.edu).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ProcessedPiRecorder, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size ProcessedPiRecorder-0.0.3-py3-none-any.whl (16.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ProcessedPiRecorder-0.0.3.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page