The model is trained on a dataset containing images of vehicles taken from different angles, labeled based on the visible damage severity. It can be used in applications such as insurance automation, car rental inspections, and fleet monitoring systems.
1from ultralytics import YOLO
2
3# Load the trained YOLOv8 model
4model = YOLO("path/to/best.pt") # Replace with your model path or use huggingface_hub download
5
6# Run inference on an image
7results = model("path/to/your_image.jpg")
8
9# Visualize results
10results.show()
11
12# Print predictions
13print(results[0].boxes.cls) # class indices
14print(results[0].boxes.conf) # confidence scores