code for extracting object and hand trajectories