Instructions to use mayocream/anime-text-yolo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use mayocream/anime-text-yolo with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("mayocream/anime-text-yolo") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Anime Text YOLO
YOLO model weights for detecting anime text blocks. The repository is flattened and contains safetensors model files only, plus this model card and license.
Model Details
- Task: object detection
- Class label:
text_block - Format: safetensors PyTorch state dict
- Source format: converted from Ultralytics YOLO
.ptcheckpoints - Metadata: each safetensors file stores class names, YOLO architecture YAML, training args, source path, conversion format, date, and Ultralytics version in its header
Files
| File | Variant | Tensors | Size |
|---|---|---|---|
yolo12n_animetext.safetensors |
YOLO12n | 691 | 9.95 MiB |
yolo12s_animetext.safetensors |
YOLO12s | 691 | 35.54 MiB |
yolo12m_animetext.safetensors |
YOLO12m | 751 | 77.14 MiB |
yolo12l_animetext.safetensors |
YOLO12l | 1245 | 101.17 MiB |
yolo12x_animetext.safetensors |
YOLO12x | 1245 | 226.22 MiB |
Usage
These files are raw model state dictionaries, not pickled Ultralytics checkpoint objects. Instantiate the matching YOLOv12 model definition, then load the state dict.
from safetensors.torch import load_file
state_dict = load_file("yolo12n_animetext.safetensors")
Intended Use
Use these weights for detecting rectangular anime text block regions in images, such as manga, anime screenshots, or illustration datasets that contain rendered text.
Limitations
The repository does not include the original training data, evaluation artifacts, or ONNX exports. Users should validate performance on their own target image distribution before using the models in production.
License
This repository is licensed under GPL-3.0. See LICENSE.
- Downloads last month
- -