tmbdev/ocropy — pull request #11 by ddohler (2014-12-17 00:30:58+00:00)
Title: Allow ocropus-nlbin to run in headless environment

This call to `gray()` tries to open a display window, which throws an exception if `ocropus-nlbin` is running in a GUI-less environment (e.g. a Docker container). As far as I can tell this call is not needed since it will get called in the previous line if `args.show` is true.