Image capture with RPi camera

1 次查看(过去 30 天)
Igor Potocnik
Igor Potocnik 2016-8-10
评论: Nipuna 2020-12-15
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 个评论
Nipuna
Nipuna 2020-12-15
I used this approch
% Create a connection to the Raspberry Pi hardware
raspiObj = raspi;
system(raspiObj,'raspistill -o /home/pi/Pictures/"name.jpg"')

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by