How to import an image in a deployed application for Raspbery Pi
Ältere Kommentare anzeigen
Hello,
I want to process pictures taken with "Camera Module 3" in a MATLAB application that is deployed to a Raspberry Pi. There might be two options but none is working:
1. Take image with libcamera-still and convert it to a mat file. Then I need to import the file into the deployed application. But I have read about deployed applications: "The function must not have any input or output arguments".
2. Write code in the application that triggers the camera to take an image. The example "Working with Raspberry Pi Camera Board" seems promising. But I could only take pictures with "Camera Module 2" which works with raspicam-stack. But "Camera Module 3" requires the newer libcamera-stack. With the newer model it get a timeout-error because no data is received (R2024a Prerelease).
Any help would be greatly appreciated.
2 Kommentare
Prasanth Sunkara
am 12 Jan. 2024
Try the "webcam" function instead. It is based on generic v4l2 driver unlike the cameraboard function
Matthias Schütz
am 17 Jan. 2024
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image and Video Processing finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!