about capture a img at stream video that running (simulink)

i using 2 blocks in simulink that active my camera that connect to my set(raspberry pi) and i tried to using fucntion block with unsucced. some can suggest me solution for my problem?

1 Comment

Can you provide an image of the model and the full error message?

Answers (2)

this is the 2 blocks-i realize that i can't using the fucntion block becuase the input and out puts of the blocks(Y-Cb-Cr)so what can i do to take a phote while its stream??
Take a look at the "Motion Sensor Camera" demo included in the Raspberry Pi support package. It does exactly what you want, i.e. take a snapshot, and saves it to the SD card. It is black-and-white only though it is not difficult to change the existing demo to save the image in color.

This question is closed.

Asked:

on 17 Dec 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!