Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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.
Regards,
Abhisek
  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