Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
library_name: ultralytics
|
5 |
+
pipeline_tag: image-segmentation
|
6 |
+
tags:
|
7 |
+
- yolo
|
8 |
+
- image-segmentation
|
9 |
+
- yolo11
|
10 |
+
- yolov11
|
11 |
+
---
|
12 |
+
|
13 |
+
# Number and Operator Detection Based on YOLO11x
|
14 |
+
|
15 |
+
This repository contains a PyTorch-exported model for detecting sidewalk and so on.. using the YOLO11 architecture. The model has been trained to recognize these symbols in images and return their locations and classifications.
|
16 |
+
|
17 |
+
## Model Description
|
18 |
+
|
19 |
+
The YOLO11s model is optimized for detecting the following:
|
20 |
+
|
21 |
+
```text
|
22 |
+
#class
|
23 |
+
cover
|
24 |
+
curb
|
25 |
+
hole
|
26 |
+
lane
|
27 |
+
sidewalk
|
28 |
+
```
|
29 |
+
## How to Use
|
30 |
+
|
31 |
+
To use this model in your project, follow the steps below:
|
32 |
+
|
33 |
+
### 1. Installation
|
34 |
+
|
35 |
+
Ensure you have the `ultralytics` library installed, which is used for YOLO models:
|
36 |
+
|
37 |
+
```bash
|
38 |
+
pip install ultralytics
|
39 |
+
```
|
40 |
+
|
41 |
+
### 2. Load the Model
|
42 |
+
|
43 |
+
You can load the model and perform detection on an image as follows:
|
44 |
+
```python
|
45 |
+
from ultralytics import YOLO
|
46 |
+
|
47 |
+
# Load the model
|
48 |
+
model = YOLO("./yolo11m-sidewalk-seg.pt")
|
49 |
+
|
50 |
+
# Perform detection on an image
|
51 |
+
results = model("image.png")
|
52 |
+
|
53 |
+
# Display or process the results
|
54 |
+
results.show() # This will display the image with detected objects
|
55 |
+
```
|
56 |
+
|
57 |
+

|
58 |
+
|
59 |
+
#yolo11
|