Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Newbie
 
Join Date: Nov 2009
Posts: 5
#1: 2 Weeks Ago
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 control....in 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, 11 views)

maxamis4's Avatar
Expert
 
Join Date: Jan 2007
Location: Northern VA
Posts: 214
#2: 2 Weeks Ago

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


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

http://www.generation5.org/content/2...helloworld.asp

Another one I saw too

http://www.codeproject.com/KB/recipes/tspapp.aspx
Newbie
 
Join Date: Nov 2009
Posts: 5
#3: 2 Weeks Ago

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


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 Algorithms....so 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.....
Reply