Aircraft Registration Number Recognition System
-
Install Pytorch Engine (CUDA, ROCm or CPU) with anaconda
-
Clone Detectron2 Framework from Github with follow command:
git clone https://github.com/facebookresearch/detectron2.git
-
Run Detectron2 Installtion with follow command:
python -m pip install -e detectron2 -i https://pypi.tuna.tsinghua.edu.cn/simple
-
Install PaddlePaddle Engine (CUDA, ROCm or CPU) with anaconda
-
Install easyocr package with follow command:
pip install easyocr -i https://pypi.tuna.tsinghua.edu.cn/simple
-
Install paddleocr package with follow command:
pip install paddleocr -i https://pypi.tuna.tsinghua.edu.cn/simple
-
To solve opencv version issue, reinstall opencv and opencv-headless with follow commands (There may be some errors happen, you can ignore it)
pip install opencv-python==4.2.0.34 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install opencv-python-headless==4.2.0.34 -i https://pypi.tuna.tsinghua.edu.cn/simple
-
Replace packages rely in paddleocr from "tools.infer" to "paddleocr.tools.infer" with text editor, it's a bug from paddleocr
-
Finally enjoy it :)