plutocam
Python package to communicate with a Pluto's camera module.
Example Command-line Usage
Stream live video
$ plutocam stream start --out-file - | ffplay -i -fflags nobuffer -flags low_delay -probesize 32 -sync ext -
Record live video then replay later
$ plutocam rec start
$ plutocam rec stop
$ plutocam rec list
index start duration path
[ 0] 20200604_04:01:27 95 /mnt/Video/20200604-040126.mp4
[ 1] 20200604_04:10:40 20 /mnt/Video/20200604-041040.mp4
success
$ plutocam rec play 0 --out-file - | ffplay -i -
Example Module Usage
Creating the object
>>> import plutocam
>>> drone = plutocam.LWDrone()
Stream live video
>>> for frame in drone.start_video_stream():
>>> sys.stdout.buffer.write(frame.frame_bytes)
Get a file
>>> with open('video.mp4', 'wb') as fp:
>>> drone.get_file('/mnt/Video/20200604-041040.mp4', fp)
Take a picture
>>> with open('picture.jpg', 'wb') as fp:
>>> fp.write(drone.take_picture().data)
Start and stop recording
>>> drone.set_record_plan()
>>> drone.set_record_plan(RecordPlan(active=False))
Metadata
Release files for plutocam 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plutocam-0.5.0.tar.gz | 19.2 kB | Without provenance | Details for plutocam-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plutocam-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for plutocam-0.5.0-py3-none-any.whl |
Total release size: 43.9 kB
Release files / plutocam-0.5.0.tar.gz
| Download URL | plutocam-0.5.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
743ec8d40fa39e4577786f283a0b5e9657ae3ccaec5455c2d99c7bb6f49c1b83
|
|
BLAKE2b-256 checksum How to use checksums |
f922c725329b9f17e43579af319f6a102726bbe0e599671ca525cc6c572bc5a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / plutocam-0.5.0-py3-none-any.whl
| Download URL | plutocam-0.5.0-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecc7bb979f1f5ed0d8b31958a9d6d32835208a36ce2f2d65ae4330b5f3a9aa95
|
|
BLAKE2b-256 checksum How to use checksums |
6ea3c566506ab6c03dad377c016342d439bc9d4e3f1bed2156b5c517ae23f685
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Security for plutocam 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.