Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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.

Answers (1)

Abhisek Roy
Abhisek Roy on 5 Jul 2017
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 Comment
Keith Madsen
Keith Madsen on 5 Jul 2017
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?

Products

Community Treasure Hunt

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

Start Hunting!