Bayesian frameworks for traffic scenes monitoring via view-based 3D cars models recognition