I am trying to create an OCR using neural networks. The problem I am facing is with feature extraction. I am not able to extract the features from the binary image, which can then be used as input to the neural network.

1 view (last 30 days)
The process I have followed till now: 1. reading the image. 2. converting it to binary image. 3. performing edge detection, then dilation and filling. 4. finally using regionprops function to collect the properties of the connected components present in the image.
Now, I want to create a function to dynamically extract all the characters from the image and store it in a matrix or file. Please help.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!