Evezerest / PPOCRLabel

PPOCRLabel is a semi-automatic graphic annotation tool suitable for OCR field, with built-in PP-OCR model to automatically detect and re-recognize data. It is written in Python 3 and PyQT5, supporting rectangular box annotation and four-point annotation modes. Annotations can be directly used for the training of PP-OCR detection and recognition models.
175 stars 41 forks source link

re-recongnition error #47

Open heyuqi1970 opened 1 year ago

heyuqi1970 commented 1 year ago

os: Macos BigSur 11.7 Paddle: 2.32, PaddleOCR: 2.6.1.0, PPOCRLabel: 2.1.1, PyQt5 : 5.15.7, PyQt5-Qt5: 5.15.2, PyQt5-sip: 12.11.0

File "/opt/anaconda3/envs/pythonProject/lib/python3.8/site-packages/PPOCRLabel/libs/hashableQListWidgetItem.py", line 37, in __init__
    super(HashableQListWidgetItem, self).__init__(*args)
TypeError: arguments did not match any overloaded call:
  QListWidgetItem(parent: QListWidget = None, type: int = QListWidgetItem.Type): argument 1 has unexpected type 'tuple'
  QListWidgetItem(str, parent: QListWidget = None, type: int = QListWidgetItem.Type): argument 1 has unexpected type 'tuple'
  QListWidgetItem(QIcon, str, parent: QListWidget = None, type: int = QListWidgetItem.Type): argument 1 has unexpected type 'tuple'
  QListWidgetItem(QListWidgetItem): argument 1 has unexpected type 'tuple'
zsh: abort      PPOCRLabel