Downloads · 30 days
27
6% of all-time downloads
nakamura196/yolov8s-layout-detection
yolov8s-layout-detection is a object detection model from nakamura196. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as cc-by-4.0.
Downloads · 30 days
27
6% of all-time downloads
All-time downloads
446
Public
Repo size
22.5 MB
Likes
1
Public
Click a slice to open those files.
.pt22.5 MB · 99%
From the Hugging Face model README
["h1", "h2", "head", "long", "other", "page", "sode", "text", "vol"]
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()