Views
No views yet
ultralytics library:pip install ultralytics1from ultralytics import YOLO
2
3# Load the fine-tuned model
4model = YOLO('path/to/best.pt')
5
6# Run inference on an image
7results = model('car_image.jpg')
8
9# Display or process results
10for result in results:
11 boxes = result.boxes
12 for box in boxes:
13 print(f"Detected License Plate: {box.xyxy}") # Bounding box coordinates
14 print(f"Confidence: {box.conf}")best.pt: The fine-tuned model weights (PyTorch format).args.yaml: Training configuration and hyperparameters.results.csv: Training logs per epoch.metrics.json: Final evaluation metrics.run_summary.json: Summary of the training run.