utils: tuning: Add requirements file and update readme

Add a requirements file to ease the installation and use of the tuning
scripts. Document that in the readme. No debian packages are provided as
rawpy is not packaged as deb. So pip has to be used anyways.

Also add pyyaml which was missing in the dependencies.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
Stefan Klug 2024-06-06 11:36:04 +02:00
parent ad930fa74b
commit 388fe3bcf9
2 changed files with 21 additions and 7 deletions

View file

@ -1,11 +1,20 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
.. TODO: Write an overview of libtuning
libcamera tuning tools
======================
Dependencies
------------
.. Note:: The tuning tools are still very much work in progress. If in doubt,
please ask on the mailing list.
.. todo::
Write documentation
Installation of dependencies
----------------------------
::
# Using a venv
python3 -m venv venv
. ./venv/bin/activate
pip3 install -r requirements.txt
- numpy
- opencv-python
- py3exiv2
- rawpy

View file

@ -0,0 +1,5 @@
numpy
opencv-python
py3exiv2
pyyaml
rawpy