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:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("Oliverdsfdsf/comic-panels-text-detect", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Oliverdsfdsf/comic-panels-text-detect: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/Oliverdsfdsf/comic-panels-text-detect/resolve/main/README.md
- Command line
-
hf download hf://Oliverdsfdsf/comic-panels-text-detect/README.md
-
curl -L -o README.md https://huggingface.co/Oliverdsfdsf/comic-panels-text-detect/resolve/main/README.md
1.18 kB
| 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 | |
|  | |
|  | |
| ## 📊 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() |