help="image to analyse")
parser.add_argument('-w', type=int, default=640,
help="scale image to the specified width before analysis")
help="image to analyse")
parser.add_argument('-w', type=int, default=640,
help="scale image to the specified width before analysis")
parser.add_argument('-d', '--debug', dest='show_all', action='store_true',
help="show every step of the computation")
parser.add_argument('-s', '--save', dest='saving', action='store_true',
parser.add_argument('-d', '--debug', dest='show_all', action='store_true',
help="show every step of the computation")
parser.add_argument('-s', '--save', dest='saving', action='store_true',
-
- lines = linef.find_lines(image, show_all, do_something, verbose)
+
+ if args.manual_mode:
+ try:
+ lines = manual.find_lines(image)
+ except manual.UserQuitError:
+ #TODO ask user to try again
+ return 1
+ else:
+ lines = linef.find_lines(image, show_all, do_something, verbose)