OMARI1988 / skeleton_tracker

skeleton tracker
3 stars 8 forks source link

Issues on Openni Tracker 2 #9

Open Amir-o-robot opened 7 years ago

Amir-o-robot commented 7 years ago

Hi ,,

Here is the image i have got with the yellow lines appearing when i commented the (generate_joint_coordinates .....) for all the joins from hips to feet. I thought that this could have lead to some distortion and that lead the ellipses to be fluctuating, but this last point you clarified, as being normal for Openni tracking that is not 100% precise.

So, now i am wondering about these Yellow Lines, and if there is a better way to stop tracking the legs so as to visualize only the head and arms.

Kindly advise

Amir

1

OMARI1988 commented 7 years ago

Hi,

remove the ids of hip, knee, and foot from lines 612 and 613. https://github.com/OMARI1988/skeleton_tracker/blob/master/include/skeleton_tracker/xtion_tracker.hpp#L612-L613

I mean change these two lines to int joint_mapping1[]={2,3,5,6}; int joint_mapping2[]={3,4,6,7};