Views
No views yet
1from ultralytics import YOLO
2from huggingface_hub import hf_hub_download
3
4# Download and load the model
5model_path = hf_hub_download(repo_id="TheBlindMaster/yolov8n-manga-frame-seg", filename="best.pt")
6model = YOLO(model_path)
7
8# Run inference
9results = model.predict("manga_page.jpg")frame