No project description provided
Project description
scicamera
This is a drastic refactor of picamera2 to a much smaller footprint and feature set that emphasises consistant and reliable imaging performance.
scicamera is predominantly supported on:
- Raspberry Pi OS Bullseye (or later) images 64-bit.
- x86 Ubuntu (likely other debian flavors as well)
Our goals are performance, reliability, brevity, and maintainability.
Installation
scicamera is a pure python package, but relies on the python c++ wrapper of libcamera.
scicamera can be installed simply with:
pip install scicamera
Installing libcamera + python bindings
Import and use of the above pacakge requires that libcamera
to be built
with the python package enabled. On rasbian, this is accomplished by
installing the libcamera
package from apt. In x86 it must be built
using something like the following:
git clone https://github.com/Exclosure/libcamera.git
cd libcamera
git checkout v0.0.4
meson setup build -D pycamera=enabled
ninja -C build
sudo ninja -C build install
Bugs/Contributing
Open an issue/PR to discuss your bug or feature. Once a course of action has been identified, open a PR, discuss the changes.
Feature creep is not of interest, but we would be happy to help you build your more complicated project on top of this.
If we like them, and the tests pass we will merge them.
CI requires code has been processed isort
and black
toolchains.
Doing this is pretty easy:
isort .
black .
Great work.
Publishing to PYPI
Should be added to github action later
- Add your pypi token
$ poetry config pypi-token.pypi my-token
- Cut a new tag
$ git tag -a v0.1.0 -m "Version 0.1.0"
$ git push origin v0.1.0
- Publish
$ poetry publish --build
Project details
Release history Release notifications | RSS feed
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
Hashes for scicamera-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c42c77948c0242018163a8cc6a2b454ad4b6b799d8e675c8a504efcbc94a734 |
|
MD5 | 892468fe40b12987e4dd8da47e5d010d |
|
BLAKE2b-256 | e71c52a23af89f163a7a79f853aa3814cbc99d8e82b5f6f2e7bb745a04f87f01 |