It is very useful to build an automatic computer system to recognize the types of vehicles passing a checkpoint given some easy-to-get data about the vehicles, such as the distances between axles, the weights on each axle. Such a system has many applications, for example, in monitoring traffic volumes and identifies the type of vehicle, which will be helpful in budgeting road maintenance costs. The main goal of this project is to develop a better methodology for cluster analysis with application to the vehicle detection problem. The simplest clustering technique is the K-means clustering.