From: Mohammad AlHourani on
hello every one,,i'm doin my grad project,,and i want to track in real-time a swarm of mobile robots using a webcam and know their locations,,i've used Optical Flow,,Horn Schunck to track the objects,,,,it works well and track moving objects only in the environment,,now i want to know their coordinates on the simulink output video,,,i tried this:
on the model -> right click -> signal & scope manager -> viewers -> XY graph and attach to model,,,i don't know what to specify as inputs in the XY graph,,i tried the BBox that shown didn't work,,,i think its a matrix input,,but i don't know,,,,

i really need help in this,,,i just want (X,Y) for a moving object from the simulink output,,,,,btw i used almost the same algorithm in the Matlab -> start -> demos -> blocksets -> video and image processing -> tracking -> tracking cars using optical flow
but i edited and use it in a real-time and it works...

so,,how i can retrieve the coordinates of the moving object in the video?????????

thx for help in advance