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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68cfe04850f641679ada469341bd9dbfac3bc897d6272e0f3fde14f1e606c407 |
|
MD5 | 3b9d9d6a331f1a13f306372e4a76493a |
|
BLAKE2b-256 | 661daf51fd761b6c077aa3106d2c606dcecebd0c841aa00c50744457114244f8 |
Close
Hashes for ProcessedPiRecorder-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f950eaa3f1d3fdc142be77310c9c5a5b4b986e5f5ce8551eaf62e1b99ad4aca4 |
|
MD5 | e4d191ef3ebb7d2d430db1079a17925d |
|
BLAKE2b-256 | 59dbe3c868477be86187a3f08ead17b6dfa0514ce0e81a12c0c9b9be001ad52f |