How to save an image saved on a Raspberry PI in a variable in order to process the image?

1 view (last 30 days)
Hello everyone!
I'm trying to do a Image Processing project using Matlab and deploy it on a Raspberry PI. I want to take the photos with a systemcall on the PI and save it on the PI. Now the question: How can I save a image (saved on the PI) in a variable in order to process the image? And how to delete the image each new iteration?
The function has to be deployed on the PI - so imread is not possible for example.
Thanks in advance.

Answers (1)

yanqi liu
yanqi liu on 25 Jan 2022
yes,sir,i face similar problem before,then use http server on device and use matlab read image through http link form device
  3 Comments
yanqi liu
yanqi liu on 27 Jan 2022
yes,in PI,use python flask to make http server,in computer use imread to get image by http url

Sign in to comment.

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!