Image capture with RPi camera

1 visualizzazione (ultimi 30 giorni)
Igor Potocnik
Igor Potocnik il 10 Ago 2016
Commentato: Nipuna il 15 Dic 2020
I would like to capture the image (preferably in grayscale) with MATLAB script, not from Command Window. (Unless it's the only way to capture the image ...) Then I would save it on RPi and compress it (still with MATLAB code) there. As far as I know snapshot command is working from Command Window and it automatically fetches the image to MATLAB. How can I capture and save the image directly on RPi (not sending it back to RPi from MATLAB)?
  1 Commento
Nipuna
Nipuna il 15 Dic 2020
I used this approch
% Create a connection to the Raspberry Pi hardware
raspiObj = raspi;
system(raspiObj,'raspistill -o /home/pi/Pictures/"name.jpg"')

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB Support Package for Raspberry Pi Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by