PFCCLab / PPOCRLabel

PPOCRLabelv2 is a semi-automatic graphic annotation tool suitable for OCR field, with built-in PP-OCR model to automatically detect and re-recognize data.
109 stars 33 forks source link

fix bug #63

Closed GreatV closed 2 months ago

GreatV commented 2 months ago

Close #60 #61 #62

Andyszl commented 2 months ago

下载最新文件后报错: File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 3504, in sys.exit(main()) ^^^^^^ File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 3499, in main app, _win = get_main_app(sys.argv) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 3487, in get_main_app win = MainWindow( ^^^^^^^^^^^ File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 161, in init self.key_dialog_tip = getStr("keyDialogTip") ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\PPOCRLabel-main\PPOCRLabel.py", line 155, in getStr return self.stringBundle.getString(strId) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\PPOCRLabel-main\libs\stringBundle.py", line 63, in getString assert stringId in self.idToMessage, "Missing string id : " + stringId ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Missing string id : keyDialogTip

GreatV commented 2 months ago

@Andyszl 可以试试加一句 import libs.resources