projekty
/
imago.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readme file, help
[imago.git]
/
imago.py
diff --git
a/imago.py
b/imago.py
index
6ab51a1
..
d234fec
100755
(executable)
--- a/
imago.py
+++ b/
imago.py
@@
-1,9
+1,19
@@
#!/usr/bin/env python
#!/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 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
import im_debug
import filter
from hough import Hough