By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,107 Members | 1,180 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,107 IT Pros & Developers. It's quick & easy.

To programme in VB6 using Genetic algorithms for hand written character recognition??

P: 5
i have already written my code using the neural network logic....and it works fine...
it is basically a hand written character recognition system...which accepts "bitmap" image files which i made through "windows Paint application" (from A to Z) and recognizes which character is it.

my logic is.....
open the "*.bmp" file using microsoft common dialog the form then obtain the pixels using "getpixel " function...check if it is black then count no. of VBblack in the grid before which we.... divide the image into 5 * 5 grid if there is a black pixel in a grid
assign the value 1 else assign 0 for "non black pixel ".
check for all (A-Z) bmp files what matrix(0 or 1) we are getting on execution and print the character .

this code is working fine using the neural network logic discussed above, but i was asked to implement it with "genetic algorithms" a random optimization search technique , I have understand the concept of GA's already but i m unable to deduce a logic to implement on my character coding programme please help me!!!!
Attached Files
File Type: txt character coding.txt (24.5 KB, 937 views)
Nov 6 '09 #1
Share this Question
Share on Google+
3 Replies

Expert 100+
P: 295
Nice question!

I am still new two Genetic algorithm's. Here is my question:

What are the problems you are trying to resolve with the Genetic Algorithms? Are you trying to implement the character recognition using this Algorithms? My follow up to that is why?

Any how I am not sure I have helped you much, but I am interested in your progress. In the meantime here is a link to a very 101 code I used to create my own Genetic Algorithm

Another one I saw too
Nov 7 '09 #2

P: 5
I want to implement my character recognition program using genetic algorithm because i was asked to do so, i asked my supervisor scientist "G-level" who gave me this problem as my project that what is the need to implement it when it is running already smoothly using the neural networks, but he is too much determined that i implement this code(i have already attached the code in text file format,but the bitmap files folder i couldn't attach) using the genetic algorithms and told me this is quite possible as several people have already written the code using GA so why couldn't i...and also my project is Genetic i have to implement it by the mid of December.

But despite several attempts (i did a lot of googling to get the concept) i hadn't succeeded much and i m looking forward for some guidance from you people....
to help me complete my project.....
Nov 7 '09 #3

P: 6
Genetic algorithms are optimizers, not modeling algorithms. GAs iteratively adjust parameters of some unknown function in an effort to maximize (or, minimize, if that's what's needed) its output. For a GA to be used in modeling, you must have some sort of model architecture (decision tree, rule base, coefficients of a regression function, etc.) for the GA to optimize.
Feb 18 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.