File size: 1,176 Bytes
74ec958
 
 
 
 
 
 
 
 
 
 
 
0f4e124
74ec958
 
 
 
c5469f5
74ec958
327d64b
 
 
 
74ec958
 
 
 
 
 
 
 
 
 
 
 
81c6b57
74ec958
 
 
 
 
 
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
---
license: apache-2.0
task_categories:
- image-segmentation
tags:
- yolo
- ultralytics
- comic
- manga
- ocr
---

# YOLO26n-seg for Comic Panels and Text Detection

This model is a fine-tuned version of **YOLO26n-seg** specifically designed for detecting and segmenting **Panels** and **Text Bubbles** in Comics, Manga, and Manhwa.

## 🚀 Usage in ebookcc
This model powers [ebookcc](https://ebookcc.com), an automated tool for create and convert Ebook.

## Predict
![predict](https://cdn-uploads.huggingface.co/production/uploads/67eabd4349483d8622917d4e/EzS3q31K3h9TwJoxtKMNJ.jpeg)
![image](https://cdn-uploads.huggingface.co/production/uploads/67eabd4349483d8622917d4e/Y1F5AiTeXdifYIgSJkJiN.png)

## 📊 Model Details
- **Task**: Instance Segmentation
- **Classes**: 
  - `Panel`: Comic frame borders.
  - `Text`: Speech bubbles and on-page text.
- **Input Size**: 1280px (optimized for high-res scans).

## 🛠 How to use (Ultralytics)
```python
from ultralytics import YOLO

# Load the model
model = YOLO('comic-panels-and-text-detect.safetensors')

# Predict
results = model.predict(source='comic_page.jpg', conf=0.25, imgsz=1280)

# Show results
results[0].show()