79206903

Date: 2024-11-20 11:07:16
Score: 1
Natty:
Report link

To check the confidence score for each individual character recognized by PaddleOCR, you can modify the decode() function in the BaseRecLabelDecode class. This class is located in your virtual environment at:

venv/lib/python3.9/site-packages/paddleocr/ppocr/postprocess/rec_postprocess.py

By default, the OCR returns the mean confidence score for all characters in the detected text within a bounding box. Updating the decode() function will allow you to access the confidence score of each character individually after the recognition process is completed.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: krypton kat