output trajectory and hog features