X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/8d05ccd11445ae069ae14dfb95d566907546e989..15a3ebaaddc23a2f69048d1def5a7f960d141d6b:/imago.py?ds=sidebyside diff --git a/imago.py b/imago.py index 6ab51a1..d234fec 100755 --- a/imago.py +++ b/imago.py @@ -1,9 +1,19 @@ #!/usr/bin/env python -"""Usage: imago.py file""" + +"""Usage: imago.py file + analyses the given file + imago.py file --debug + shows every step of the computation + imago.py --help + shows this help""" import sys import math -import Image, ImageDraw +try: + import Image, ImageDraw +except ImportError, msg: + print >>sys.stderr, msg + sys.exit(1) import im_debug import filter from hough import Hough