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