setup
This commit is contained in:
@@ -1 +1,3 @@
|
||||
__version__ = '0.1.1'
|
||||
|
||||
from manga_ocr.ocr import MangaOcr
|
||||
|
||||
@@ -92,5 +92,9 @@ def run(
|
||||
time.sleep(delay_secs)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
def main():
|
||||
fire.Fire(run)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
BIN
manga_ocr/assets/example.jpg
Normal file
BIN
manga_ocr/assets/example.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user