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

2023.8 Ubuntu Install Guide #57

Closed crstudio closed 10 months ago

crstudio commented 10 months ago

enviroment: Ubuntu 20.04, Python 3.7

  1. pip install paddlepaddle
  2. pip install PPOCRLabel
  3. sudo apt-get install libxcb-xinerama0
  4. pip uninstall opencv-python
  5. pip install opencv-python-headless

折腾了半天,就是需要这样安装。至于opencv-python-headless 的版本,最新的我这里可以,但也可以用4.2.0.32 至于 opencv-contrib-headless 需不需要安装,我这里是不需要安装。但是绝对不能安装 opencv-python。