Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Keith Madsen
Keith Madsen le 30 Juin 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

Abhisek Roy
Abhisek Roy le 5 Juil 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 commentaire
Keith Madsen
Keith Madsen le 5 Juil 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?

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by