Skip to content

Latest commit

 

History

History

Optical-Character-Recognition-using-PaddleOCR

Optical Character Recognition using PaddleOCR.

PaddleOCR Feature Image

This repository contains code of our blog post Optical Character Recognition using PaddleOCR.

We will use PaddleOCR to perform OCR on various scenarios like Receipts, ID-cards, Road signs and more. This repository also focuses on comparing various models provided by PaddleOCR that are PP-OCRv3, PP-OCRv2, SRN and NRTR.

Requirements

  • python-Levenshtein
  • paddlepaddle-gpu
  • paddleocr

Notebooks

This repository contains two different notebooks for performing both the tasks as explained above.

  • OCR_inference.ipynb: This notebook contains inference code of PaddleOCR. In this, PP-OCRv3 along with text detector, recognizer and angle classifier are tested on various real life scenarios.

  • OCR_comparison.ipynb: This notebook conatins the comparison code of the models provided by PaddleOCR toolkit. In this PP-OCRv3, PP-OCRv2, SRN and NRTR are tested on COCO text dataset.

Download Code

Output Examples

Invoice OCR output

OCR on ID card

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.