Instructions to use PaddlePaddle/PP-LCNet_x1_0_doc_ori with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-LCNet_x1_0_doc_ori with PaddleOCR:
# 1. See https://www.paddlepaddle.org.cn/en/install to install paddlepaddle # 2. pip install paddleocr from paddleocr import DocImgOrientationClassification model = DocImgOrientationClassification(model_name="PP-LCNet_x1_0_doc_ori") output = model.predict(input="path/to/image.png", batch_size=1) for res in output: res.print() res.save_to_img(save_path="./output/") res.save_to_json(save_path="./output/res.json") - Notebooks
- Google Colab
- Kaggle
Help in Understanding why the model fails/mispredicts for certain image's orientation detection (english language based ID Cards).
#2
by khushalR - opened
Need help in understanding what features contributes towards the model's prediction or misprediction in different cases. And are there any limitations where the model's mispredicts so we can effectively capture and improve that data capturing mechanism to mitigate such issues? Facing problems with Indian ID Cards (Aadhaar, Pan, Passports, VoterIDs, etc).