How to Correlate Captcha Values

can anyone help or instruct , how to correlate a captcha text ( Kind of image file which dynamically generated and inputted with the charecters found in the image). This is my long time thought to find the solution for this . can anyone or HP folks provide a solution for this ?? :)