Image processing question - beginning a personal project
Show older comments
Hello,
I'm about to begin a personal project that will deal with some image processing, and I was hoping for advice before jumping in. My goal is to create a program that accepts an image of my hand-written homeworks, and processes each character into, say, a text file (further manipulations will be simple). My biggest problem lies in acquiring the characters from the image.
Let me first tell you my ideas:
1) Provide samples of my handwriting of each character (numbers, letters) and use a simple hamming distance (might have to scale for comparison).
2) Train a neural network to recognize my characters and use that (which NN would you recommend?).
3) Anything else you can think of that's better.
Otherwise I plan to use bounding boxes that I think MATLAB can automatically determine for each character (I assume given some threshold).
My biggest problem; however, within this character determination is that I will sometimes write a fraction,
a
_
b
and I'm not sure if I can somehow detect it's a fraction rather than 3 lines, or if i should stick to a/b.
Question: what method of character recognition would you recommend I employ, given that I will be taking from a hand-written (possibly tilted) input image, and how should I handle multi-line fractions (or anything that has a similar multi-line issue)?
Thanks for your time community.
Edit: although I might have added Neural Network Toolbox, I don't have nor plan to use that - I'll code my own of whatever is suggested, so please don't advise anything directly from that toolbox :).
3 Comments
José-Luis
on 21 Sep 2017
There's an open-source project doing ocr for mathematical formulas.
So you can either try to implement it in Matlab or contribute to the open-source effort.
Personally, I'd pick the later.
Greg Heath
on 21 Sep 2017
Why don't you use the forward slash for fractions?
Greg
MATLAB Newbie
on 22 Sep 2017
Answers (0)
Categories
Find more on Text Detection and Recognition in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!