Ask Your Question
0

Patterns recognition by neural network example

asked 2012-08-13 07:53:45 -0500

user008 gravatar image

I cannot find example of patterns recognition by neural network. Can anyone help me?

edit retag flag offensive close merge delete

Comments

Please be more specific. What do you want to accomplish? What have you tried, what publications did you read about?

sammy gravatar imagesammy ( 2012-08-13 08:20:12 -0500 )edit

I want to work with neural network for recognition characters. I read different articles on the internet. And they often use opencv and fann. But the using described not enough clear. I want to get working example which make me able to teach network by samples and give me opportunities to recognize patterns.

user008 gravatar imageuser008 ( 2012-08-13 08:31:50 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
4

answered 2012-08-13 11:50:33 -0500

I have written a Guide on Machine Learning with OpenCV, which shows how to use the Multilayer Perceptron class of OpenCV. You can find it as a PDF:

It comes with a sample program, which shows how to work with the OpenCV machine learning API:

I'll update it to OpenCV 2.4 soon and update this page accordingly.

edit flag offensive delete link more
1

answered 2012-08-13 08:48:19 -0500

sammy gravatar image

A classical technique is to crop the image just around the letter, resize it to 4x4 pixels, eventually apply a dct to further slim down the search space.(then you could select first 4-6 values). And with those values, train a classifier - a neural network in your case.

Given the width/height ratio of your input, you may choose some different small resolution. Like 3x4, or 4x5.

I advise you to start with digits, or a limited set of characters. Later, you can expand it to the full alphabet, use more complex descriptors, etc.

P.S. If by "working example" you mean "give me teh codez", this is not the right place to ask. One learns best by writing code, reading carefully and working hard.

Good luck!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2012-08-13 07:53:45 -0500

Seen: 14,573 times

Last updated: Aug 13 '12