Reading 7 segment digits using Paddle OCR

276 views Asked by At

I am trying to read the 7 segment display using Paddle OCR, sometimes it reads correctly otherwise it reads poorly given the image is clear and visible to read

For example: This image is clear and readable:

enter image description here

but the output of the image using paddle OCR is 8L1100

It reads this image perfectly:

enter image description here

Output is: 240141

I did try some preprocessing on the image by grayscale, blurring and using opening and closing on the image, but the same problem persists.

1

There are 1 answers

0
Syscrusher On

For the first image the OCR has flipped the text - (think BOOBS on a calculator). You can pass use_angle_cls=False argument to PaddleOCR.