この質問は閉じられています。 編集または回答するには再度開いてください。

Is it possible to acquire still images for analysis from a raspberry pi using Simulink only?

1 回表示 (過去 30 日間)
Keith Madsen
Keith Madsen 2017 年 6 月 30 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I need to acquire still images from a raspberry pi in Simulink in order to do image processing on them. I know this is possible through MATLAB using the webcam and snapshot commands, but I need still images from a raspberry pi using Simulink only. There is a V4L2 video capture block for the raspberry pi, but I don't see any blocks for still images. Is it possible to get still images using Simulink only? The goal is to run all the code natively on the pi.

回答 (1 件)

Abhisek Roy
Abhisek Roy 2017 年 7 月 5 日
Hi Keith,
Have you installed Simulink support package for Raspberry Pi Hardware? If you have installed them them you should have a library for the same in your library browser.
You can have a look at the following example -
In this example, the image inversion algorithm runs on RPi and the result will be displayed in our computer.
  1 件のコメント
Keith Madsen
Keith Madsen 2017 年 7 月 5 日
Thank you for the response. The image inversion example uses a live video feed, but I am trying to get still photos from the camera. Does Simulink support still photos from a pi?


Community Treasure Hunt

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

Start Hunting!

Translated by