100
votes
Crack CAPTCHA using deep learning
Here is one example using a convolutional neural network (CNN) to crack the CAPTCHA. We will use a CAPTCHA library to generate sample CAPTCHA images and then train a neural network to decode these ...
18
votes
Accepted
Importing a grid of numbers from an image (sudoku like)
1 - Summary of a simple solution
In this particular DIGIT case there is a very simple solution based on neural nets (NNs)trained on MNIST Data. It is just a few lines of code:
...
17
votes
What's the principle behind the new MoleculeRecognize function?
Using ResourceFunction["PrintDefinitions"][MoleculeRecognize], one can determine that the source implementation is MolVec. The specific source code is:
...
14
votes
What's the principle behind the new MoleculeRecognize function?
I am one of the authors of Molvec. It was designed in a classical approach using various image processing heuristics to guess the structure. While it's on my todo list, we still haven't published a ...
14
votes
13
votes
Accepted
How to TextRecognize a screenshot of code?
If you are truly interested in this topic, you need to go deeper. TextRecognize uses Tesseract under the hood and getting familiar with how to train its ML ...
10
votes
Crack it if you can? But in the best way
a solution to the puzzle: consider each of the 4 wheels as a 16x4 matrix with zeros for all of the "open" or "always covered" areas:
...
Community wiki
10
votes
Accepted
Handwriting recognition with Mathematica
This topic got some updates since 2016 :-) I will give a short review of resources.
Top recent: Wolfram Technology Conference (WTC) 2020
At the Wolfram Technology Conference (WTC) 2020 (currently in ...
9
votes
Accepted
8
votes
Accepted
Alphabet recognition
Here's the list of all languages supported by TextRecognize in v12.1.
...
8
votes
Accepted
problem to recognize a table through a png image
Here's a way to augment @georg279's approach. We can use ImageLines to subdivide the image.
First we use a derivative filter to highlight the horizontal lines. ...
8
votes
Text recognition - extracting table of text from image
See links at the end for documentation of functions used in this answer.
EDIT4
This might not work for some tables but one can obtain the regions of the cells in the table using the following steps:
...
7
votes
Accepted
Finding position of text returned with TextRecognize
With enhanced in version 11.1 TextRecognize finding positions of recognized text becomes straightforward:
...
7
votes
problem to recognize a table through a png image
TextRecognise seems to fare better if you feed it smaller regions. Here I manually isolate individual lines from the table:
...
7
votes
Accepted
How can I separate a scanned text to its letters?
This is not a full answer, but it's too extensive to be a comment. Here's a good way to get all of the components using the wonderful MorphologicalComponents, ...
7
votes
Accepted
How to improve the recognition quality when TextRecognize work on single character
I felt that I miss some simple way to unite closely located components and finally I found it: ImageForestingComponents (thanks to this answer)!
It is unfortunate ...
6
votes
How to import Robinhood screenshots?
So for reasons unknown TextRecognize hangs indefinitely on my computer. On the other hand, here's a way to get images that ...
6
votes
How to improve the recognition quality when TextRecognize work on single character
You can use Dilation with rectangular kernel to extend the bounding boxes vertically in order to connect closely related components:
...
6
votes
5
votes
Accepted
Providing an image or PDF file as an input to the Handwritten Math Recognition Engine
The handwriting system requires actual pen strokes to perform recognition.
5
votes
Accepted
5
votes
Is it possible to straighten lines of text in an image?
In 14.1, TextRecognize appears to work somewhat well (but not perfectly) on the image as-is:
...
4
votes
Extract names from a document
You may use the functions in the Text Analysis guide to extract the "NounPhrase"s containing "ProperNoun"s. This gives a short ...
4
votes
Accepted
How to TextRecognize sparse grid of tabular data?
Update 2: We can get the desired segmentation using the third argument of ImageForestingComponents to specify the horizontal and vertical radii to connect two ...
4
votes
Importing a grid of numbers from an image (sudoku like)
Here is a semi-manual way to do it :
Importation of the image, cutting it in a 48X48 array of small images,
removing the borders :
...
4
votes
Accepted
How to import equations from a pdf
This software can read equations from pdf and convert it to latex format.
You can paste latex equations in Mathematica. This answer might help.
4
votes
Accepted
Does anyone know how to fix the issue not having the hydrogen atoms accounted for when converting to a .mol file?
Try this. Start with a suitable image. For example,
...
3
votes
Improve TextRecognize[] on numbers
Mathematica version 11.1
This still fails sometimes but it's better than nothing
...
3
votes
Failed to load TesseractTools in Mathematica 11 running on Raspberry Pi
This is fixed in the just released Mathematica 11.2.0 for the Raspberry Pi.
Note you may have to install a paclet manually first. It is not currently included in the installation in an effort to keep ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ocr × 62image-processing × 40
machine-learning × 5
image × 4
neural-networks × 4
chemistry × 3
computer-vision × 3
graphics × 2
graphs-and-networks × 2
bugs × 2
import × 2
plotting × 1
list-manipulation × 1
performance-tuning × 1
front-end × 1
export × 1
notebooks × 1
data × 1
dataset × 1
curated-data × 1
memory × 1
algorithm × 1
text × 1
implementation-details × 1
pdf-format × 1