Motion Comparison and Tactic Analysis in Sports Training