How to use people tracking in real time?

Hello, I'm doing final year project. Matlab give me a more solution to any other project but this time, i found in matlab section, demo>video image processing>tracking>people tracking. From that, i see the demo and try to modify the simulink block diagram. I change the 1st block diagram(from multimedia file) to from video device to make it as in real time but its say that, "error the resolution must be same".
How can i solve this problem?? or have another method to tracking in real time such as in matlab script?

回答(1 个)

Unai
Unai 2011-2-16
Hi!
I would try resizing the input in order to adapt the video device resolution to the resolution used in the example.
Before doing this, I suggest using the next "from video device" options:
1. Ports mode: separate color signals
2. video format: YUY2
And use Y channel as input to your model.
I've used these options and it works fine so I think you won't have any problem.
Good luck!
Unai

类别

Community Treasure Hunt

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

Start Hunting!

Translated by