PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

string indices must be integers when using paddleocr

Open zfb132 opened this issue 2 years ago • 0 comments

Please provide the following information to quickly locate the problem

System Environment:Win11 amd64 Version

  • Paddle: 2.3.2.post116
  • PaddleOCR: 2.6.1.0
  • Related components:recovery_to_doc

Status

  • Command Code:paddleocr --image_dir=D:/test.pdf --type=structure --recovery=true --table=false
  • Complete Error Message:error in layout recovery image:test, err msg: string indices must be integers

Also, I have cloned the latest code 6228d1e and run the following:
python paddleocr.py --image_dir=D:/test.pdf --type=structure --recovery=true --table=false
The same error occurred.

zfb132 avatar Oct 27 '22 09:10 zfb132