Questions tagged [ocr]

Optical character recognition, usually abbreviated to OCR, is the mechanical or electronic translation of scanned images of handwritten, typewritten or printed text into machine-encoded text.

Filter by
Sorted by
Tagged with
1
vote
0answers
18 views

Possible?: Split pdf file on pages where object detection algorithm finds custom object

I have scanned documents in large pdf files consisting of many individual documents. Each document begins with a exhibit number sticker, much like this one: example. The files are scanned in greyscale....
0
votes
1answer
22 views

How to detect medicine name from the medicine wrapper

I have got medicine wrapper ( Packaging ) of different medicines. I want to detect medicine name out of it. I'm using Google Cloud Vision to extract all the text from the medicine wrapper. Text ...
0
votes
0answers
18 views

How to estimate the OCR accuracy

I am building a system which uses ocr to extract text but i have no way to flag that information on how correct it can be and if the information needs to be discarded by just looking at the image and ...
0
votes
1answer
17 views

Context capturing in a Structured PDF?

I'm trying to extract resume (PDF) data. resumes always tend to follow a structure. so if you see some numbers in a cv; according to the context, we could tell whether its a telephone number, a ...
0
votes
0answers
22 views

How to segregate resume layouts into different types?

I'm looking for any suggestions on how to segregate resume layout into different types. How do one proceed with such a task? I mean resumes are usually available as pdf or docx format and when we ...
0
votes
0answers
16 views

No output after noise removal means noise was absent?

While performing OCR with tesseract, after noise removal step, the output of pytesseract.image_to_string was empty, but as soon as I removed that step and ran again ...
0
votes
0answers
69 views

Extracting Text from scanned pdf

I was not able to convert a pdf to an image. Eventhough the poppler is in path the below issue is occuring. Input: ...
0
votes
1answer
20 views

License Plate OCR

Are there any pretrained models or annotated data available for license plate detection? I've seen some sets but most of them are little in size. I'm more interested in prod-like quality. Are there ...
0
votes
1answer
72 views

How to create a model to recognize matching label and ROI with OCR

I am trying to make a model in python using Tensorflow to process the Tesseract OCR to detecting and extracting particular ROI from Image. I want to recognize the particular fields and values from ...
0
votes
0answers
37 views

How to identify and extract text from table in a image ? Are there any machine learning model avaible for extracting text in a table?

How to identify and extract text from table in a image ? sample image shown below Are there any machine learning model available for identifying table and extracting text in a table ? i tried ...
1
vote
0answers
21 views

Extracting document templates from similar documents

Using very basic techniques (zone segmentation + OPTICS) I was able to organize a set of around 10^4 business documents (invoices, receipts) into hierarchy of clusters of documents of similar layout. ...
3
votes
1answer
692 views

Pretrained handwritten OCR model

I've been looking around for pretrained models dedicated to handwritten OCR. So far I've found very little. Could you please share, if you know any? I find tesseract...
4
votes
1answer
93 views

Fake News Detection problem

I would like to work on a project for Fake News Detection especially for Indians news which are in different languages and different formats. Fake news as image with no or very less text Fake news on ...
0
votes
0answers
29 views

How to build a OCR for reading text from image?

This is my first time working on a OCR application. I have lot of scanned images of English text-book pages like this and I want to build a OCR using DL to ...
1
vote
0answers
77 views

how to resize image without changing DPI in opencv for detecting text and feeding into OCR?

i resized the image using open cv and it changed the dpi of the image from 300 dpi to 90 dpi . What is the correct way to resize image without changing its dpi in open cv . if we feed the resized ...
8
votes
1answer
541 views

How can you build a model that extracts data out from receipts?

I'm trying to build a model that is capable of identifying information on receipts and invoices. I have used google cloud vision api for text extraction from the receipt but the problem is it just ...
1
vote
0answers
915 views

how to resolve this error in Tesseract : (2, 'Usage: pytesseract [-l lang] input_file') [closed]

pytesseract.pytesseract.tesseract_cmd = r'/usr/local/bin/pytesseract' img = Image.open("/content/drive/My Drive/abc.jpg") print(pytesseract.image_to_string(img)) ...
0
votes
0answers
109 views

how to create custom data-set for “text-detection-ctpn mode” for training the model to localize text in particular field of interest?

how to create custom data-set for "text-detection-ctpn mode"? Git link: "https://github.com/eragonruan/text-detection-ctpn" Query1. How the coordinates ...
1
vote
0answers
8 views

detect diagram region in research papers

How can I detect diagram region and extract it from a research paper
1
vote
1answer
42 views

optical chemical structure recognition from images

I want to recognize name of the chemical structure from the image of chemical structure, like in the given image it is benzene structure I want to recognize that it is benzene from the image(I should ...
0
votes
1answer
34 views

Evaluating information extraction from structured documents

I'm trying to find metrics to evaluate multiple algorithms for key information extraction from already OCRed invoices. For instance, such an algorithm, given an invoice, could find that: ...
0
votes
0answers
18 views

Document/paragraphs reading order

Deep learning models such as LSTM need a string sequence as input. However, my input are 2D documents with many possible layouts with potentially multiples columns. Therefore I need to guess the ...
0
votes
0answers
9 views

What English fonts are not machine readable or are non-OCR compatible?

Was looking into non OCR compatible fonts to be used for a project, so which English fonts cannot be read by a machine? I know the Captcha is very hard to read for a machine but what is the main ...
0
votes
0answers
53 views

Tesseract training- JTessBoxEditor issue

I am trying to train my tesseract by making box characters in the images but the JTessBoxEditor is not recognising any characters. When running the command --> tesseract eng.arial.exp1.tiff eng.arial....
0
votes
0answers
32 views

Image Classification approach for Text images

Let me introduce myself as a beginner to machine learning problems. We are trying to build a system to classify images of text-data like bills, orders, bank-statements etc. We started with the image ...
0
votes
1answer
53 views

Classifying Letters using CNN - Help

so some context, I'm trying to develop an OCR (for fun) and for that reason I decided to first find text within a page, parse it in to letters within the text and from there try and classify the ...
0
votes
0answers
24 views

Representing and Training Individualized Models

Say I want to create a handwriting OCR or speech-to-text system intended for many users. A first pass might be to train a single one-size-fits-all model on all available data to predict all users' ...
2
votes
1answer
38 views

How to segment old digitized newspapers into articles

I'm working on a large corpus of french daily newspapers from the 19th century that have been digitized and where the data are in the form of raw OCR text files (one text file per day). In terms of ...
0
votes
0answers
42 views

Tesseract OCR: recognize old letter types

I want to extract text from images like the one below. Note that the letters are "old" German type of letters (from the 1830s in the case below). I use the following code: ...
1
vote
0answers
28 views

Best OCR approach on documents with different formats to find one specific information

Unfortunately, because of confidential data, I can't give a more specific explanation. The Problem So I've got a few documents that in general contain the same information but have different formats....
1
vote
1answer
407 views

Extract text from a image - OCR

This is the first time I am working with OCR. I have an image and want to extract data from the image. My image looks like this: I want to extract the parameters and the values against them. Can ...
0
votes
1answer
41 views

training neural nets for OCR

we are trying to build an in house OCR system to extract alphanumeric strings from images (kindly note, most of our clients cant afford to send their data onto the cloud so it rules out any API from ...
0
votes
1answer
835 views

Extracting structure and content from invoices

Lately, I have been largely inspired by this https://rossum.ai/, which is able to extract text from invoice documents. Do you have any ideas on how this could be implemented? It's clear that they ...
0
votes
1answer
79 views

Data set of vectors of SVG paths for digits

I have used the MNIST data set many times to train models for digit recognition based on object character recognition (OCR). I am now trying to do the same but with a data set of svg paths.. I am ...
1
vote
0answers
415 views

Character segmentation using deep learning

I'm developing a character segmentation algorithm for license plate OCR. My algorithm includes two steps: segmentation and recognition. There is almost no problem for recognition thanks to CNN. My ...
1
vote
1answer
636 views

Reading meters with tensorflow

I'm new to ML world and been reading about ML and TensorFlow. My goal is to read the following example in real time with Android phone: So I tried firebase ML OCR and it works really good, it reads ...
1
vote
1answer
40 views

Does CRNN use sparse tensor value for its label?

I just read paper about cnn + rnn for text recognition. The labels of dataset is tensor of char index (e.g [0, 1, 2 ] for image with label "abc"). Since the label of each input has different length ...
1
vote
0answers
74 views

Extracting text from few areas on product label

I'm trying to achieve algorithm that will extract text from few areas(marked with red color) on label(similar to attached image) and QR code on a single photo taken with mobile camera so label may be ...
1
vote
0answers
228 views

OCR in book spines

I'm experimenting with OCR on book spines, as a way of cataloguing books which are on shelves without the tedium of taking out each one and scanning a barcode. I need a way to tell if I have ...
1
vote
0answers
39 views

How to approach training a machine to read a form

After many rewrites I'm still not entirely thrilled with how I've presented this.... please delete if inappropriate. Background As part of my job, we record observations on underwater paper and then ...
1
vote
0answers
100 views

OCR on striked-out text

I have the following image with me: I want to identify the text, which is the amount mentioned at the bottom of the table. However, the bottom edge of the table goes through the text in this case. ...
2
votes
1answer
467 views

Machine learning algorithm which gives multiple outputs from single input

I need some help, i am working on a problem where i have the OCR of an image of an invoice and i want to extract certain data from it like invoice number, amount, date etc which is all present within ...
1
vote
1answer
85 views

How can I split an image into rectangles?

I have a labelled form to which people will add their name and a series of numbers. They will then take a picture of the form. Like so: I can get decent results by simply sending this to AWS ...
7
votes
1answer
2k views

How can you build a model that reads out receipts and invoices?

The objective is to build a model that is capable of identifying information on receipts and invoices that can look completely different. I've had a discussion with my brother about the right ...
1
vote
1answer
3k views

High, constant training loss with CNN

I try to solve a multi-character handwriting problem with CNN and I encounter with the problem that both training loss (~125.0) and validation loss (~130.0) are high and don't decrease. I use the ...
6
votes
1answer
81 views

Can I train two stacked models end-to-end on different resolutions?

Is it possible to stack two networks on top of each other that operate on different resolutions of input data? So here's my usecase: like Google, I want to recognize text in images. Unlike Google, I ...
2
votes
1answer
86 views

What model to use for matching two datasets

I've got 500 images of paper receipts scanned and OCR as one dataset. I also have a dataset of transactions from my credit card statement including amount and date. What model is best to match the ...
1
vote
0answers
74 views

How to segment a scanned Page so that it can be fed into an OCR [closed]

I have an OCR that can read a given character. Now I want to build something that can take a scanned document and convert it into text. The problem is how do I segment each character? I know this can ...
4
votes
2answers
5k views

how can I solve label shape problem in tensorflow when using one-hot encoding?

I used tensorflow to recognize text from natural images by using convolutional neural network; there is no specific number of characters in the text. To make a successful training I should convert the ...
4
votes
1answer
140 views

what is the loss function in char recognition using Tensorflow?

I have code in Tensorflow using convolution neural network to recognize the characters in street view Text (SVT) data. Since the label type is string, what should I use instead of ...