It's not uncommon for a code snippet to be posted on the internet, or even on a stack exchange site where someone has taken a screenshot of code.

Does anyone know of a quick and easy way to convert this to text? I imagine source code or even console output is a special case of OCR since its almost always fixed width fonts with no images, charts, etc.

link|improve this question

62% accept rate
feedback

2 Answers

FreeOCR should do just fine I think.

link|improve this answer
feedback

You may want to take a look at Google's Tesseract-OCR:

http://code.google.com/p/tesseract-ocr/

They purchased it from HP Labs and open-sourced it.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.