Computer vision techniques for traffic data collection and analysis