Automatic Extraction of Vehicle, Motorcycle, Bicycle, and Pedestrian Traffic from Video Data