Downloads · 30 days
0
AksharPatel/manga-speech-bubble-segmentation
manga-speech-bubble-segmentation is a machine learning model from AksharPatel. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gpl-3.0.
This model uses YOLO v8 to train the model.
Downloads · 30 days
0
Access
Public
Updated May 8, 2024
Repo size
92.3 MB
Likes
3
Public
Click a slice to open those files.
.pt92.3 MB · 100%
From the Hugging Face model README
This model uses YOLO v8 to train the model.
from ultralytics import YOLO
import cv2
model = YOLO("model/best.pt")
image = cv2.imread("test.jpg")
h, w, c = image.shape
results = model(
image,
# dimensions required to be multiple of 32
imgsz=[(h // 32) * 32, (w // 32) * 32],
conf=0.6,
)[0]
# save the image with bounding boxes
results.save("output.jpg")