Feature Extraction
Transformers
PyTorch
Safetensors
English
magi
Manga
Object Detection
OCR
Clustering
Diarisation
custom_code
Instructions to use ragavsachdeva/magi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ragavsachdeva/magi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ragavsachdeva/magi", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ragavsachdeva/magi", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update readme
Browse files
README.md
CHANGED
|
@@ -100,4 +100,14 @@ for i in range(len(images)):
|
|
| 100 |
model.generate_transcript_for_single_image(results[i], ocr_results[i], filename=f"transcript_{i}.txt")
|
| 101 |
```
|
| 102 |
|
| 103 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
model.generate_transcript_for_single_image(results[i], ocr_results[i], filename=f"transcript_{i}.txt")
|
| 101 |
```
|
| 102 |
|
| 103 |
+
# Citation
|
| 104 |
+
```
|
| 105 |
+
@misc{sachdeva2024manga,
|
| 106 |
+
title={The Manga Whisperer: Automatically Generating Transcriptions for Comics},
|
| 107 |
+
author={Ragav Sachdeva and Andrew Zisserman},
|
| 108 |
+
year={2024},
|
| 109 |
+
eprint={2401.10224},
|
| 110 |
+
archivePrefix={arXiv},
|
| 111 |
+
primaryClass={cs.CV}
|
| 112 |
+
}
|
| 113 |
+
```
|