Vehicle counting and classification project written in C++ or C# using OpenCV, Visual Studio 2017, Windows 10. The problem is to count and classify vehicles inside a predefined area and multi lanes. Classification shall consist of large vehicles (trucks, buses, etc.) and small vehicles (cars, Pickup trucks, motorcycles, minibus, etc.) only. Counting shall consider that the vehicles might be at zero velocity. Expert knowledge of C++ or C# and OpenCV is mandatory. Note that the input will be a 'cv::VideoCapture'. Counting performance shall be 99% and the classification performance shall be above 98%.
FHWA 13 Vehicle Classification
Motorcycles: All 2 or three-wheeled motorized vehicles. Typical vehicles in this category have saddle-type seats and are steered by handlebars rather than wheels. This category includes motorcycles, motor scooters, mopeds, motor-powered bicycles, and 3-wheeled motorcycles.
Pasenger Cars: All sedans, coupes, and station wagons manufactured primarily for transport pasengers and including those passenger cars pulling recreational or other light trailers.
Other Two-Axle, Four-Tire, Single Unit Vehicles: All two-axle, four-tire, vehicles other than pasenger cars. Included in this classification are pickups, panels, vans, and other vehicles such as campers, motor homes, ambulances, hearses, carryalls, and minibus. Other two-axle, four-tire single unit vehicles pulling recreational or other light trailers are included in this clasification.
Buses: All vehicles manufactured as traditional passenger-carrying buses with two axles and six tires or three or more axles. This category includes only traditional buses (including school buses) functioning as passenger-carrying vehicles. Modified buses should be considered to be trucks and be appropriately classified.
Note: In reporting information on trucks the following criteria should be used:
a. Truck tractor units traveling without a trailer will be considered single-unit trucks.
b. A truck tractor unit pulling other such units in a “saddle mount” configuration will be considered as one single unit truck and will be defined only by axles on the pulling unit.
c. Vehicles shall be defined by the number of axles in contact with the roadway. Therefore, “floating” axles are counted only when in the down position.
d. The term “trailer” includes both semi- and full trailers.
Two-Axle, Six-Tire, Single Unit Trucks: All vehicles on a single frame including trucks, camping, and recreational vehicles, motor homes, etc., having two axles and dual rear wheels.
3-axle Single unit Trucks: All vehicles on a single frame including trucks, camping, and recreational vehicles, motor homes, etc., having three axles.
4 or More Axle Single Unit Trucks: All trucks on a single frame with four or more axles.
4 or Less Axle Single Trailer Trucks: All vehicles with four or fewer axles consisting of two units, one of which is a tractor or straight truck power unit.
5-Axle Single Trailer Trucks: All five-axle vehicles consisting of two units, one of which is a tractor or straight truck power unit.
6 or More Axle Single Trailer Trucks: All vehicles with six or more axles consisting of two units, one of which is a tractor or straight truck power unit.
5 or Less Axle Multi-Trailer Trucks: All vehicles with five or fewer axles consisting of three or more units, one of which is a tractor or straight truck power unit.
6-Axle Multi-Trailer Trucks: All six-axle vehicles consisting of three or more units, one of which is a tractor or straight truck power unit.
7 or More Axle Multi-Trailer Trucks: All vehicles with seven or more axles consisting of three or more units, one of which is a tractor or straight truck power.
When crosing a predefine Green line will turn Red, then :
VevCount, Lane #, Type, # Axles, TimeDate, Picture.
We don't have training data, We don't have video.