MATLAB Answers

Plot video and picture with timestamp simultaneously

12 views (last 30 days)
I am collecting voltage signals from a sensor and a continuous video at the same time. Whenever the voltage changes I am recording a signal of around 10 seconds length. I do have the timestamp of the recorded signal and the video.
I am collecting multiple voltage readings whenever they are triggered by the system. The video is recorded continuously.
I want to have an application where I can load the voltage signal/pciture and the correlated section of the video. The voltage readings could be loaded as pictures/fig files or real signals.
I want to have a slider where I can move to the next picture/signal and at the same time I want the video to jump to the timestamp that I am getting from the picture/signal. The video should then be repeatedly run within the same time frame of the signal. The timestamp of the signal could be written in the filename of the picture/signal.
Any help would be greatly appreaciated.

Accepted Answer

Image Analyst
Image Analyst on 12 Oct 2021
Well that's a whole application. I can't do all that but I can share three demos where I play a video and plot the mean rgb values as a function of frame time.
Image Analyst
Image Analyst on 13 Oct 2021
I don't know. If your analysis can be done in less than a frame time, you could throw in pause() to slow it down. If your analysis takes longer then you'll have to speed up your computer or maybe do some tricks with the parallel processing toolbox to process several frames in advance.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by