# HG changeset patch # User Nicolas Saunier # Date 1341545534 14400 # Node ID 584613399513bb266f3e327cd3774d39ff627ff6 # Parent 2d34060db2e93fac33e64a194eb6c1a7761ca251 added script and functions to remove object tables diff -r 2d34060db2e9 -r 584613399513 python/compute-homography.py --- a/python/compute-homography.py Thu Jul 05 23:01:36 2012 -0400 +++ b/python/compute-homography.py Thu Jul 05 23:32:14 2012 -0400 @@ -52,16 +52,14 @@ # cvFindHomography(imagePoints, worldPoints, H); -if '--help' in options.keys() or '-h' in options.keys(): - print('''The argument should be the name of a file containing at least 4 non-colinear point coordinates: +if '--help' in options.keys() or '-h' in options.keys() or len(args) == 0:: + print('Usage: {0} --help|-h [--video_frame