Automatic Tracking Method for Sports Video Analysis