Page 1 of 1

get_Tracking

Posted: Fri May 11, 2007 11:59 am
by niallm
Hi,
Just trying to add a little robustness to my app by checking for a valid Vector using inpvector3->get_Tracking( &myPval).
Works great when startup with vector clip in view of Camera When the clip is removed from the field of view it causes myPval.bool to get set to False. And the code for handling this is called. When the clip is returned to the field of view it appears to remain False.
I've tried vector reset even stop then start the camera.
Even set myPval.bool to True before getting the next frame and vector update.

Any ideas on what's wrong.

Thanks

Niall

Re: get_Tracking

Posted: Mon May 14, 2007 12:20 pm
by niallm
Hi

Found the problem, it appears you still need to do a free/reset on the frame. It still takes a couple of seconds before tracking starts once the clip is repositioned. I had moved the free /reset up to after I've retrieved the vector data. This seemed to improve camera performance.

Niall