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
File details
Details for the file ProcessedPiRecorder-0.0.3.tar.gz
.
File metadata
- Download URL: ProcessedPiRecorder-0.0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
05e8ff157198a1c12162ef53f02f2c30371523f84f48ed5331cc090ab2a33f9a
|
|
MD5 |
47e64d29a9b59005a82e5d5ff757d7aa
|
|
BLAKE2b-256 |
d7323aa69fd94639fd0188f6d5b1f97a4a47d2591610f91a11d906c3eedafc8b
|
File details
Details for the file ProcessedPiRecorder-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ProcessedPiRecorder-0.0.3-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4ef57ae83a5ee80aa7951ad5ce33a7d3a5704d3a9ea879a28ec5fbe5b1809eea
|
|
MD5 |
6df6ec74aaa1bee5227aff6d7927f446
|
|
BLAKE2b-256 |
b2fa4cdb40a5eb991ba9841f72b0d6e02a31a7bde19bdd36146f749685e952a8
|