I am developing an app to track 2 passive objects. I notice that sometimes my frame contains less than or more than 2 objects even when the system is stationary.
My procedure uses the INPCameraFrame::get_Count method to determine the number of objects in the frame and subsequently use INPCameraFrame::Item to get the individual objects in the frame.
Say there are only 2 objects in the frame always. Will the order of these objects in the INPCameraFrame::Item collection remain the same in subsequent frames?
How are objects scored with the INPObject::get_Score method? and how can the info be put to use?
Tracking multiple objects.
-
- Posts: 11
- Joined: Mon May 08, 2006 5:00 am
- Location: arlington, MA
-
- Posts: 11
- Joined: Mon May 08, 2006 5:00 am
- Location: arlington, MA
Re: Tracking multiple objects.
quote:Originally posted by ronatu:
I am developing an app to track 2 passive objects. I notice that sometimes my frame contains less than or more than 2 objects even when the system is stationary.
My procedure uses the INPCameraFrame::get_Count method to determine the number of objects in the frame and subsequently use INPCameraFrame::Item to get the individual objects in the frame.
Say there are only 2 objects in the frame always. Will the order of these objects in the INPCameraFrame::Item collection remain the same in subsequent frames?
How are objects scored with the INPObject::get_Score method? and how can the info be put to use?Another question about Vector tracking algorithm.
Where I can find a describtion for calls:
m_spVector->get_Yaw(&varYaw);
m_spVector->get_Pitch(&varPitch);
m_spVector->get_Roll(&varRoll);
m_spVector->get_X(&varX);
m_spVector->get_Y(&varY);
m_spVector->get_Z(&varZ);
???
I will appreciate any help.
I am developing an app to track 2 passive objects. I notice that sometimes my frame contains less than or more than 2 objects even when the system is stationary.
My procedure uses the INPCameraFrame::get_Count method to determine the number of objects in the frame and subsequently use INPCameraFrame::Item to get the individual objects in the frame.
Say there are only 2 objects in the frame always. Will the order of these objects in the INPCameraFrame::Item collection remain the same in subsequent frames?
How are objects scored with the INPObject::get_Score method? and how can the info be put to use?Another question about Vector tracking algorithm.
Where I can find a describtion for calls:
m_spVector->get_Yaw(&varYaw);
m_spVector->get_Pitch(&varPitch);
m_spVector->get_Roll(&varRoll);
m_spVector->get_X(&varX);
m_spVector->get_Y(&varY);
m_spVector->get_Z(&varZ);
???
I will appreciate any help.