Spaces:
Running
Running
File size: 232 Bytes
b902873 efddbeb b902873 efddbeb b902873 efddbeb b902873 efddbeb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
"""
This module is used to extract text from images using manga_ocr.
"""
from manga_ocr import MangaOcr
def get_text_from_image(image):
"""
Extract text from images using manga_ocr.
"""
mocr = MangaOcr()
return mocr(image)
|