Is it possible to process every frame of a live video stream using simulink?

1 view (last 30 days)
Does anyone know if it is possible to process every frame of a live video stream from a built in webcam using simulink? Thanks so much everyone!
  1 Comment
Walter Roberson
Walter Roberson on 12 Mar 2018
That is going to depend upon the frame rate of the live video, and upon the resolution of the frames, and upon what processing you are doing.

Sign in to comment.

Answers (1)

Kassidy Lundy
Kassidy Lundy on 13 Mar 2018
Thank you so much for your reply, Walter. So I'm currently building a model that uses has a rate of 10 frames/sec and a resolution of 1280x720 pixels. I have been trying to use the blob analysis block to obtain the centroids of beads in motion. However my intention is to process at a frame rate of 30 frames/sec at a resolution of 1920x1080 pixels. I have been trying to make my model discern frame number with every iteration of the centroids calculations and place that centroid info into a column of a matrix pertaining to the frame number however it seems that simulink cannot count the number of frames in a given recording. Do you know if it would be possible to store data from each frame using simulink?

Products

Community Treasure Hunt

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

Start Hunting!