.. |br| raw:: html
.. _camera-guide-index:
Camera Guide
============
How to connect, enable and use cameras with our modules. For displays see the
:doc:`Display Guide `.
Supported cameras
-----------------
.. list-table::
:header-rows: 1
:widths: 20 20 25 25 30
* - Module
- Baseboard
- Camera
- Precompiled Image
- Yocto Enablement
* - QS8M-MQ00
- QSBase2
- `RaspberryPi Camera`_ (Sony IMX219)
- n.a.
- NXP BSP (Raspberry Pi Camera)
* - QSXM-MM60
- QSBase3
- `Basler daA2500-60mci`_
- *qsxm-mm60-basler* in `Download Area`_
- NXP BSP (Basler Camera)
* - QSXP-ML81
- QSBase4
- `RaspberryPi Camera`_
- n.a.
- NXP BSP (Raspberry Pi Camera)
* - QSXP-ML81
- QSBase3
- `Basler daA3840-30mc`_
- *qsxp-ml81-basler* in `Download Area`_
- NXP BSP (Basler)
* - QS93-5210
- QSBase93
- `RaspberryPi Camera`_
- n.a.
- NXP BSP (Raspberry Pi Camera)
* - QSMP-2350 / QSMP-2550
- QSBase5
- `RaspberryPi Camera`_
- *qsmp-2xxx-karo-image-weston* in `Download Area`_
- Mainline BSP (Raspberry Pi Camera)
Enabling camera support in Yocto images
---------------------------------------
To build an image with camera support, build ``karo-image-weston``:
.. prompt::
:prompts: $
bitbake karo-image-weston
For **Basler cameras** support build ``karo-image-basler`` with the
the NXP BSP (see :doc:`Yocto Guide `) — on current releases
(scarthgap and newer) the ``basler`` distro feature is enabled by default on the appropriate
machines and pulls in the pylon SDK, the Basler camera kernel module and the ISP packages from
the BSP's NXP layers, so no additional layers are needed:
.. prompt::
:prompts: $
bitbake karo-image-basler
Then flash the image (:doc:`/software-documentation/flashtools/uuu/index`) and load the appropriate
FDT overlay (see table below) in the U-Boot environment (see :doc:`/software-documentation/uboot/fdt-overlays`).
.. list-table::
:header-rows: 1
:widths: 30 30 40
* - Module / baseboard
- Camera
- FDT overlay
* - qs8m on qsbase2 or qsbase4
- `RaspberryPi Camera`_
- qs8m-cam
* - qsxm-* on qsbase4
- `RaspberryPi Camera`_
- qs8m-cam
* - qsxp-ml81 on qsbase4
- `RaspberryPi Camera`_
- qsxp-cam
* - qsxm-mm60 on qsbase3
- `Basler daA2500-60mci`_
- qsxm-pcie
* - qsxp-ml81 on qsbase3
- `Basler daA3840-30mc`_
- qsxp-pcie
* - qs93 on qsbase93
- `RaspberryPi Camera`_
- qs93-cam
* - qsmp-2* on qsbase5
- `RaspberryPi Camera`_
- qsmp-csi
Streaming / capturing video
---------------------------
For streaming with a camera see the following pages:
.. toctree::
:maxdepth: 1
imx
stm32mp2
.. _`RaspberryPi Camera`: https://www.raspberrypi.org/products/camera-module-v2/
.. _`Download Area`: https://www.karo-electronics.com/downloads
.. _`Basler daA2500-60mci`: https://www.baslerweb.com/en/products/cameras/area-scan-cameras/dart/daa2500-60mci-s-mount/
.. _`Basler daA3840-30mc`: https://www.baslerweb.com/en/products/cameras/area-scan-cameras/dart/daa3840-30mc-s-mount/