File size: 994 Bytes
5e2c35c
37554e3
 
 
 
 
 
5e2c35c
37554e3
 
 
 
 
 
 
 
 
 
 
 
 
5e2c35c
37554e3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
tags:
  - ultralyticsplus
  - yolov8
  - ultralytics
library_name: ultralytics
library_version: 8.0.43
license: cc-by-4.0
model-index:
  - name: nakamura196/yolov8m-wavy-line-detection
    results:
      - task:
          type: object-detection
        metrics:
          - type: precision
            value: 0.566
            name: mAP50-95(B)
          - type: precision
            value: 0.925
            name: mAP50(B)
pipeline_tag: object-detection
---

# YOLOv8 model to detect wavy lines in images

## Inference

### Supported Labels

```python
["line"]
```

### How to use

```bash
pip install ultralyticsplus
```

```python
from ultralyticsplus import YOLO, render_result

# load model
model = YOLO('best.pt')

# set image
image = "https://dl.ndl.go.jp/api/iiif/1879314/R0000039/full/640,640/0/default.jpg"

# perform inference
results = model.predict(image, verbose=False)

# observe results
render = render_result(model=model, image=image, result=results[0])
render.show()
```