A Voting Algorithm for Dynamic Object Identification and Pose Estimation