Relative Content

Tag Archive for pythonopencvocr

DocTR wrong number detection

I’m trying to extract data from an image using docTR for OCR and OpenCV to enhance the image quality by removing the background. However, I’ve encountered an issue where the OCR results are incorrectly converting the number 6 to 9 and vice versa.

Here’s the code I’m using to enhance the image quality:

DocTR wrong number detection

I’m trying to extract data from an image using docTR for OCR and OpenCV to enhance the image quality by removing the background. However, I’ve encountered an issue where the OCR results are incorrectly converting the number 6 to 9 and vice versa.

Here’s the code I’m using to enhance the image quality:

DocTR wrong number detection

I’m trying to extract data from an image using docTR for OCR and OpenCV to enhance the image quality by removing the background. However, I’ve encountered an issue where the OCR results are incorrectly converting the number 6 to 9 and vice versa.

Here’s the code I’m using to enhance the image quality:

Handwritten Text Line Segmentation

I am writing a program to segment the different lines from a cropped image of paragraph with handwritten text. This is my current code which works in most cases but sometimes struggles and combines several lines into one.