Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ You can load the model and perform detection on an image as follows:
|
|
26 |
from ultralytics import YOLO
|
27 |
|
28 |
# Load the model
|
29 |
-
model = YOLO("./
|
30 |
|
31 |
# Perform detection on an image
|
32 |
results = model("image.png")
|
@@ -41,10 +41,9 @@ The results object contains bounding boxes, labels (e.g., numbers or operators),
|
|
41 |
Access them like this:
|
42 |
|
43 |
```python
|
44 |
-
|
45 |
-
|
46 |
-
print(
|
47 |
-
print(result.scores) # Confidence scores
|
48 |
```
|
49 |
|
50 |
![](result.png)
|
|
|
26 |
from ultralytics import YOLO
|
27 |
|
28 |
# Load the model
|
29 |
+
model = YOLO("./feryolo-11x-64.pt")
|
30 |
|
31 |
# Perform detection on an image
|
32 |
results = model("image.png")
|
|
|
41 |
Access them like this:
|
42 |
|
43 |
```python
|
44 |
+
# View results
|
45 |
+
for r in results:
|
46 |
+
print(r.probs) # print the Probs object containing the detected class probabilities
|
|
|
47 |
```
|
48 |
|
49 |
![](result.png)
|