PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

ppocrlabel recognize 崩溃

Open heyuqi1970 opened this issue 1 year ago • 3 comments

请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem

  • 系统环境/System Environment:Macos BigSur 11.7
  • 版本号/Version:Paddle: 2.32, PaddleOCR: 2.6.1.0, PyQt5 : 5.15.7, PyQt5-Qt5: 5.15.2, PyQt5-sip: 12.11.0 问题相关组件/Related components:
  • 运行指令/Command Code:PPOCRLabel
  • 完整报错/Complete Error Message:
 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

heyuqi1970 avatar Oct 25 '22 02:10 heyuqi1970

@LDOUBLEV 我也遇见了同样的问题 image

LUOQING1994 avatar Oct 28 '22 07:10 LUOQING1994

我也遇到了同样的问题,在做完矩形标注之后,点重新识别,会出现如下错误并且退出界面

截屏2022-11-03 15 27 07

HuizhiXu avatar Nov 03 '22 07:11 HuizhiXu

@HuizhiXu 目前有解决方案了,将paddocr的版本指定在2.6。

heyuqi1970 avatar Nov 07 '22 07:11 heyuqi1970

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 08 '23 02:07 github-actions[bot]