Detecting design evolution...

This project focuses on using computer vision to analyze car design changes over the years. By detecting bounding boxes and 50 specific design keypoints on car images, I built a system to quantify and visualize the evolution of automobile designs.
The dataset consists of 17 high-quality images of diverse car models annotated with bounding boxes and 50 keypoints. Key features include:
Before training the models, a preprocessing pipeline was developed to ensure data consistency and improve the model's generalization ability:
A two-task deep learning pipeline combining CNNs and transformers:
x_min, y_min, width, height).x, y coordinates).Custom loss functions were used for the dual-task outputs:
Loss = λ1 * IoU + λ2 * MSE, where λ1 and λ2 are hyperparameters tuned via grid search.The training process was designed to ensure maximum performance:
The following metrics were used to evaluate the model:

Figure 1: Bounding Box Placement Visualization

Figure 2: 50 Design Keypoints Visualization
Slide to compare design evolution between models, showcasing changes in grille shape, bumper box design, and overall aesthetics.
To truly understand the design distinctiveness between car models, I computed the Euclidean distance between each corresponding label across images. This distance helps us capture even the smallest variations in the design.
But that's not all. I normalized all coordinates to ensure consistency. Each coordinate is scaled by the car's width and length, calculated as the differences between the extreme x and y points. This ensures fair comparisons, no matter the image dimensions.
Finally, the sum of these normalized Euclidean distances provides us with a single, meaningful metric—a comprehensive measure of the design difference between car models.
2.21
Difference
The design similarity score between Hyundai Elantra Model 2021 and Hyundai Elantra Model 2024 is 2.21. This indicates that while the models share somewhat insignificant design overlap, where the differences highlight subtle but impactful design evolution over time.

Explore the full project, detailed codebase, and additional insights on GitHub!
Visit GitHub Repository