Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,28 @@ Thing Description at the camera's root (usually `/camera/`).

## Installation

The package is on PyPI and can be installed using `pip install labthings-picamera2`. Note that
you may need to separately install `pip install labthings-fastapi[server]`. The package
can also be installed from a clone of this repository with `pip install -e .`.
For this to work you should be on a 32-bit version of Bullseye or Bookworm os with python v3.9 or 3.11.

It's usually best to install in a virtual environment, but note that you should use
`python -m venv .venv --system-site-packages` as the `picamera2` package and its
dependencies are not all installable using `pip`.

python -m venv .venv --system-site-packages

as the `picamera2` package and its dependencies are not all installable using `pip`.

The package is on PyPI and can be installed using

pip install labthings-picamera2

You will also need to separately install the server with:

pip install labthings-fastapi[server]


If you want to edit labthings-picamera2 then you can clone this repository. Move to the directory and run

pip install -e .



## Usage

Expand Down Expand Up @@ -46,4 +61,4 @@ All of the properties and actions described in the Thing Description should be p
Python properties and methods - currently the types and docstrings don't propagate to the
client object, this is planned for the future but isn't reality yet.

[labthings-fastapi]: https://github.com/labthings/labthings-fastapi/
[labthings-fastapi]: https://github.com/labthings/labthings-fastapi/