nakamura196's picture
feat: udpate readme
ab3b07b
metadata
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

["h1", "h2", "head", "long", "other", "page", "sode", "text", "vol"]

How to use

pip install ultralyticsplus
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()