How to simultaneously run multiple tasks?

I want to run my program as follow:
input = video;
%%Detect object
if object is detected
(let say object is detected at frame 10)
give id = obj1;
task 1 : track obj1 and in the same time check if other object is present in the scene.
task 2 : process the detected object (the object image that had been detected for the first time (at frame 10))
Is it suitable if I use
parpool
or any idea to run this program in parallel?

回答 (0 件)

質問済み:

2016 年 8 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by