Fixes issue #3

https://github.com/tleyden/open-ocr/issues/3#issuecomment-44836123