Processing multiple Videos in parallel

3 views (last 30 days)
Ahmad Mustafa
Ahmad Mustafa on 30 Jan 2018
I am building a Matlab application that takes as input videos from multiple sources, each corresponding to a patient. The patients' faces are detected and tracked in real time and each frame is processed to output mean values for R, G, and B channels. The videos are run for a fixed number of frames determined beforehand. When this is done, the R,G, and B signals are used to compute the heart rates for patients. So for a single patient, the code looks something like the pseudocode shown below. This is for one patient. What I would like to do is do this for multiple patients being monitored simultaneously. Is there a way to run this code in parallel for multiple videos being acquired in real time?
While frameCount<No_of_Frames_to_run
take snapshot
detect face
Output mean value for R,G and B channel in face
end
**process R,G,B signals to output heart rate**

Answers (0)

Categories

Find more on C4ISR in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!