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.
Tag: ocr
cv2.error (-215:Assertion failed) reader.ptr != NULL in function cvDrawContours
So I’m trying to create a license plate detection program and I have been following a guide for that, (https://github.com/nicknochnack/ANPRwithPython/blob/main/ANPR%20-%20Tutorial.ipynb) however I am …
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 …
Extracting numbers from video frames using Tesseract OCR
I am interested in extracting numbers from standardized videos (always HD resolution @ 1920×1080, 30 FPS) I have. Numbers always appear in fixed sections of the screen and are never missing. My …
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: import cv2 import matplotlib.pyplot as plt …
How can I read a full sequence of digits using tesseract instead of first digit only
I have the following clear binary image, and I want to read the digits using tesseract. My problem is that tesseract is reading only the first digit (5)! How can I make tesseract read the full …
Pytesseract not detecting a digit which might be a picture within a picture
I’m trying to extract the number from the image string given below I have no problem in extracting digits from normal text, but the digit in the above strip seems to be a picture within a picture. …
How to de-skew a text image and retrieve the new bounding box of that image Python OpenCV?
Here’s a receipt image that I’ve got and I’ve plotted it using matplotlib and If you see the image the text in it is not straight. How can I de-skew and fix it? I think if we want to de-skew first we have to find the edges, so I tried to find the edges using canny algorithm and then get