Metadata-Version: 2.1
Name: ProcessedPiRecorder
Version: 0.0.1
Summary: Muliprocessed Picamera Class
Home-page: https://github.com/mattisabrat/ProcessedPiRecorder
Author: Matthew Davenport
Author-email: mdavenport@rockefeller.edu
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.3
Description-Content-Type: text/markdown

# 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](https://github.com/mattisabrat) (mdavenport@rockefeller.edu).


