parent
7283e58873
commit
0fe143df7f
@ -0,0 +1,13 @@ |
||||
import easyocr |
||||
import sys |
||||
if len(sys.argv)==2: |
||||
if sys.argv[1]=="ja": |
||||
print("Loading JP data...") |
||||
reader = easyocr.Reader(['ja','en']) |
||||
else: |
||||
print("Loading EN data...") |
||||
reader2 = easyocr.Reader(['en']) |
||||
else: |
||||
print("Unspecified language. Format:") |
||||
print(" runocr.py <ja|en>") |
||||
|
Loading…
Reference in new issue