summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2024-06-06 11:36:04 +0200
committerStefan Klug <stefan.klug@ideasonboard.com>2024-07-05 12:45:10 +0200
commit388fe3bcf9ab5e6a5888dd573f590a84c2ac3e93 (patch)
tree2386515c9effa273740548cd530d832e80d47811
parentad930fa74b4927cb5c16ae841943df4ff37114e4 (diff)
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>
-rw-r--r--utils/tuning/README.rst23
-rw-r--r--utils/tuning/requirements.txt5
2 files changed, 21 insertions, 7 deletions
diff --git a/utils/tuning/README.rst b/utils/tuning/README.rst
index ef3e6ad7..89a1d61e 100644
--- a/utils/tuning/README.rst
+++ b/utils/tuning/README.rst
@@ -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
diff --git a/utils/tuning/requirements.txt b/utils/tuning/requirements.txt
new file mode 100644
index 00000000..d1dc589d
--- /dev/null
+++ b/utils/tuning/requirements.txt
@@ -0,0 +1,5 @@
+numpy
+opencv-python
+py3exiv2
+pyyaml
+rawpy