Instructions to use Oliverdsfdsf/comic-panels-text-detect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Oliverdsfdsf/comic-panels-text-detect with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("Oliverdsfdsf/comic-panels-text-detect") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
| 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 comic translation and layout analysis. | |
| ## Predict | |
|  | |
|  | |
| ## π 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.pt') | |
| # Predict | |
| results = model.predict(source='comic_page.jpg', conf=0.25, imgsz=1280) | |
| # Show results | |
| results[0].show() |