VectorTracking
Posted: Sat Feb 18, 2012 11:35 pm
I am working with the vector tracking sample and have few questions:
1) occasionally when i start the application there is a delay until the {if(vecprocessor->MarkerCount()>0)} loop starts. In other words, the loop {for(int i=0; iObjectCount(); i++)} always starts when the application starts but only after 10-20 seconds the vecprocessor->MarkerCount() is greater than 0. Any idea why there is a delay until the vector calculation starts?
2) is it possible to calculate the vector after capturing frame data. for example, to store in an Array the x,y (in pixles) data when capturing frames from the frame->Object(i); and only after, when frame is not captured to process the vector analysis on each element in the Array to calculate the vector x,y,z.
3) how do i convert the frame->TimeStamp() into meaningful time h:mm:ss
thanks,
oren
1) occasionally when i start the application there is a delay until the {if(vecprocessor->MarkerCount()>0)} loop starts. In other words, the loop {for(int i=0; iObjectCount(); i++)} always starts when the application starts but only after 10-20 seconds the vecprocessor->MarkerCount() is greater than 0. Any idea why there is a delay until the vector calculation starts?
2) is it possible to calculate the vector after capturing frame data. for example, to store in an Array the x,y (in pixles) data when capturing frames from the frame->Object(i); and only after, when frame is not captured to process the vector analysis on each element in the Array to calculate the vector x,y,z.
3) how do i convert the frame->TimeStamp() into meaningful time h:mm:ss
thanks,
oren