Views
No views yet
| Class ID | Class Name |
|---|---|
| 0 | Panadol |
| 1 | Revanin |
| Class Name | Image Count |
|---|---|
| Panadol | 116 |
| Revanin | 122 |
1from ultralytics import YOLO
2
3# Load the trained model
4model = YOLO('best.pt')
5
6# Perform inference on an image
7results = model('path_to_image.jpg')
8
9# Display results
10results.show()