Archiv für August 2012

How to build the tesseract OCR engine on Windows/Cygwin

August 29, 2012 - Markus Hoenicka
Optical Character Recognition (OCR) comes in handy if you need to edit text which is not available in an editable format, e.g. scans of dead-tree documents. I needed an OCR solution which works both on my Unix boxes at home and on my Windows box at work. Tesseract ships a Windows version although it is a command-line tool. It seemed a better idea to build tesseract on Cygwin, and some success stories of previous versions on the web encouraged me to go ahead and try.

Read more »

FreeBSD: how PNG killed my touchpad

August 02, 2012 - Markus Hoenicka
I wanted to install R, a scientific software package for statistical analysis and data visualization, on my FreeBSD box real quick. R can output its graphs to PNG images, among others. libpng was bumped recently to a new revision using a new interface. I didn't expect this to be a great hassle, but I had to find out the hard way that just about every installed port depends on PNG support. As R pulled in the new version of libpng, I had to update all packages that depend on this library. Rebuilding these ports from the sources takes a day or two. This is not unusual. But in my case it had some interesting side effects.

Read more »