[PATCH v2 05/25] utils: tuning: Add requirements file and update readme
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Sat Jun 29 00:35:22 CEST 2024
Hi Stefan,
Thank you for the patch.
On Fri, Jun 28, 2024 at 12:46:58PM +0200, Stefan Klug wrote:
> 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
> rawpi is not packaged as deb. So pip has to be used anyways.
s/rawpi/rawpy/
Looks like Gentoo doesn't provide a package either :-(
> Also add pyyaml which was missing in the dependencies.
>
> Signed-off-by: Stefan Klug <stefan.klug at ideasonboard.com>
> ---
> utils/tuning/README.rst | 23 ++++++++++++++++-------
> utils/tuning/requirements.txt | 5 +++++
> 2 files changed, 21 insertions(+), 7 deletions(-)
> create mode 100644 utils/tuning/requirements.txt
>
> diff --git a/utils/tuning/README.rst b/utils/tuning/README.rst
> index ef3e6ad76f1b..ef6dbe28f676 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
s/Libcamera/libcamera/
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> +======================
>
> -Dependencies
> -------------
> +.. Note:: The tuning tool 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 000000000000..d1dc589d0329
> --- /dev/null
> +++ b/utils/tuning/requirements.txt
> @@ -0,0 +1,5 @@
> +numpy
> +opencv-python
> +py3exiv2
> +pyyaml
> +rawpy
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list