This commit is contained in:
Maciej Budyś
2022-01-18 00:44:46 +01:00
parent 17dd2f665e
commit 3a88953989
9 changed files with 65 additions and 3 deletions
+2
View File
@@ -1 +1,3 @@
__version__ = '0.1.1'
from manga_ocr.ocr import MangaOcr
+5 -1
View File
@@ -92,5 +92,9 @@ def run(
time.sleep(delay_secs)
if __name__ == '__main__':
def main():
fire.Fire(run)
if __name__ == '__main__':
main()
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

+1 -1
View File
@@ -21,7 +21,7 @@ class MangaOcr:
else:
logger.info('Using CPU')
self(Path(__file__).parent.parent / 'assets/crop.png')
self(Path(__file__).parent / 'assets/example.jpg')
logger.info('OCR ready')