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 ")