Skip to content

Files

Latest commit

57b5cef · Jan 18, 2023

History

History

Optical-Character-Recognition-using-PaddleOCR

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jan 18, 2023
Jun 16, 2022

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.