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.
Source Distribution
Built Distribution
Close
Hashes for ProcessedPiRecorder-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40d921427fba983fd74700da6b9aa3dcb5ab459084fe281880e21591ba5d0f4f |
|
MD5 | 3565839843187ae72db87289e2accb9d |
|
BLAKE2b-256 | 88acfcc3c8ee3d0f28e4e2e16d8dd1c1ccec44788524c1abd1e200d8c988929a |
Close
Hashes for ProcessedPiRecorder-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57de4264570aa7d474df574a6c556ecdf2a89032ec894cd84b3bc033c75ba3d4 |
|
MD5 | 027e4844bcaa366d341223d2ab67684a |
|
BLAKE2b-256 | c8bd8d603621c463b5e1ae2fc715329dcc93f9bafe9f46a223c8fc09e0ab8a91 |