Skip to content

Tag: ocr

OCR: Saving Words in a CSV-file

this is a part of my OCR code. This part looks for a special word in a scanned PDF and prints this out. I have like 10 Queries like this and all print me the word I am looking for. Now I want to get the found words saved in a CSV, but I don’t know how to do that.

Pytesseract read coloured text

I am trying to read coloured (red and orange) text with Pytesseract. I tried to not grayscale the image, but that didn’t work either. Images, that it CAN read Images, that it CANNOT read My current code is: Answer This little function (below) will do for any color ec9Ut.png Thresh result x18MN.png Thres…

Bounding box detection for characters / digits

I have images, which look like the following: I want to find the bounding boxes for the 8 digits. My first try was to use cv2 with the following code: Unfortunately that doesn’t work. Does anyone have an idea? Answer The problem in your solution is likely the input image, which is very poor in quality. …