File size: 1,062 Bytes
d721de7 2f18eb1 ab3b07b 2f18eb1 d721de7 2f18eb1 ab3b07b 2f18eb1 ab3b07b |
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/yolov8s-layout-detection
results:
- task:
type: object-detection
metrics:
- type: precision
value: 0.671
name: mAP50-95(B)
- type: precision
value: 0.947
name: mAP50(B)
pipeline_tag: object-detection
---
# YOLOv8 model to detect layout of 寛政重修諸家譜
## Inference
### Supported Labels
```python
["h1", "h2", "head", "long", "other", "page", "sode", "text", "vol"]
```
### 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()
```
|