The function "cameraboard" does not recognize my USB webcam connected to Raspberry Pi. It errors out "Failed to detect a Camera Board connected to the Raspberry Pi hardware.".

I have a Raspberry Pi hardware and want to connect a USB webcam to it. However, when I used "cameraboard" function as indicated in the example below.
Run on Hardware
https://www.mathworks.com/matlabcentral/fileexchange/62243-run-on-hardware
However, it errors out that it cannot find a camera connected to my Raspberry Pi hardware. What is the issue behind it?
------------------------------------------------------------------------------------------------
Failed to detect a Camera Board connected to the Raspberry Pi hardware. If you connected a Camera Board, check that:
1. The ribbon cable connecting the camera module to the board is securely seated at both ends
2. The connectors on the ribbon cable are inserted to the CSI connector and the camera PCB the right way
3. Camera Board is enabled in the "raspi-config" Linux utility
------------------------------------------------------------------------------------------------

 Respuesta aceptada

The "cameraboard" function is supposed to be used for CSI camera (also known as strip based camera or PiCamera). If your webcam is of USB, please use "webcam" function which can be used for either Pi Camera or USB webcams.

Más respuestas (0)

Productos

Versión

R2023a

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by