Tag Archives: OCR

Isolating Characters in an Image in JavaScript

The JavaScript program below first draws horizontal separators between lines of text in an imported image, and then draws separators between individual characters in each line. Along with a few other recent posts, it is intended as the beginnings of … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Drawing Rules Between Lines of Text in Javascript

The JavaScript program below will automatically draw rules between lines of text in a loaded image. It is intended as an early step in an optical character recognition system. To see it in action, copy it into a .html file … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Comparing Images in JavaScript

The JavaScript code below, when run, prompts the user to specify two image files and click a button to calculate the difference in intensity of their respective pixels. It is intended only as a simple early experiment in the field … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment