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

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 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Kassidy Lundy
Kassidy Lundy am 13 Mär. 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?

2 Kommentare

No, you probably cannot do 30 frames per second at that resolution using those algorithms without getting a faster computer.
Okay, thank you for your help!

Melden Sie sich an, um zu kommentieren.

Produkte

Gefragt:

am 12 Mär. 2018

Kommentiert:

am 13 Mär. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by