Questions tagged [handwriting-recognition]

Handwriting recognition is the ability of a computer to receive and interpret handwritten input.

Handwriting recognition is the ability of a computer to receive and interpret intelligible handwritten input, from sources such as paper documents, photographs, touch-screens and other devices.

Handwriting recognition principally entails optical character recognition.

184 questions
0
votes
1 answer

Error when checking input: expected conv2d_1_input to have shape (1, 28, 28) but got array with shape (28, 28, 1)

I am trying to predict a digit by using a keras example, when i trained my model everything is fine and the accuracy of test data is very good, but when i want to predict a digit i have some problem with the match of dimensions , i tryed to change…
0
votes
1 answer

OpenCV: Segment each digit from the given image. Digits are written in each cell of a row matrix. Each cell is bounded by margins

I have been trying to recognise handwritten letters (digits/alphabet) from a form-document. As it is known that form-documents have 1d row cells, where the applicant has to fill their information within those bounded cells. However, I'm unable to…
0
votes
0 answers

Split handwritten number touching each other with openCV in Python for MNIST preprocessing

I'm looking to split number on image. My main problem is that the number may touch each other. so all technique with OpenCV contour found online doesn't work. Here the steps i've done so far. It's working well with image that have number well…
0
votes
1 answer

Image Processing MLP - Detecting Classes

I've implemented an MLP that is able to detect hand written digits. So far the algorithm can identify numbers 0 and 1, but when I have implemented a new class, e.i. 2, the algorithm is unable to learn it. At the beginning I thought I had had a…
GGS
  • 153
  • 2
  • 11
0
votes
1 answer

How to send raw image data to MS Computer Vision API using R?

I am using Computer Vision API for handwritten analysis using R. I can get the results when passing image URL. But I want to pass binary image data to the API. What is the format for that? When using the online Console for POST using this…
0
votes
1 answer

Theano function memory not allocated in Keras example

I am using Keras OCR example: https://github.com/keras-team/keras/blob/master/examples/image_ocr.py for online handwriting recognition but facing a memory allocation problem after model training while using a theano function to get the softmax…
Aayushee
  • 31
  • 8
0
votes
1 answer

How to print the handwritten text inside the bounding boxes using open CV

I am trying to recognize handwritten text(capital letters and alphanumeric) and print it. I have used the code mentioned in this link. handwriiten word recognition I am also able to get different alphabets seperately in bounding boxes and it gives…
0
votes
0 answers

Using specific regions in input image for handwriting recognition with MS API

Can we send specific coordinates within an input image to the MS handwriting recognition API so that not the whole but only those specific areas in the image are recognized.
0
votes
0 answers

Not Converging CTC Loss and Fluctuating Label Error Rate (Edit Distance) on Single Example?

I am trying to overfit a handwriting recognition model of this architecture: features = slim.conv2d(features, 16, [3, 3]) features = slim.max_pool2d(features, 2) features = mdrnn(features, 16) features = slim.conv2d(features, 32, [3, 3]) features =…
Rocket Pingu
  • 621
  • 9
  • 26
0
votes
1 answer

Sklearn GaussianMixture

I have been learning for myself for several months artificial intelligence through a project of character recognition and transcription of handwriting. Until now I have successfully used Keras, Theano and Tensorflow by implementing CNN, CTC neural…
0
votes
1 answer

how to evaluate the accuracy of generated pictures by Generative adversarial network (GANs)?

i am stuck with this problem. I have generated handwritten digit using GANs. And now I want to evaluate how accurate my generated handwritten digits are. Is there any way??
0
votes
1 answer

Locating minima in smoothed projection profile using python

I have an projection profile for an image. It looks like this . And the code looks like this def smooth(y, box_pts): box = np.ones(box_pts)/box_pts y_smooth = np.convolve(y, box, mode='same') return y_smooth img =…
0
votes
0 answers

Why do i get so bad accuracy in mnist digits recognition

I am new to AI and this code is about mnist digits recognition according to the tutorial from this website: tensorflow tutorial. For some reason, I cant use the mnist data directly like what it is in tutorial. My method is to download the data…
0
votes
1 answer

Using BI LSTM CTC Tensorflow Model in Android

TL;DR, I want to know how to use a bi-lstm-ctc tensorflow model in an android application. I have succeeded in training my bi-lstm-ctc tensorflow model and now I want to use it for my handwriting recognition android application. Here's the part of…
Rocket Pingu
  • 621
  • 9
  • 26
0
votes
3 answers

Find the width of an ink stroke in an image using OpenCV & C++

I have the following sample of handwriting taken with three different writing instruments: Looking at the writing, I can tell that there is a distinct difference between the first two and the last one. My goal is to determine an approximation of…
CodeBender
  • 35,668
  • 12
  • 125
  • 132