Skip to content
Snippets Groups Projects
Commit ff11038a authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Be more verbose about failures to detect

parent 16fc60ca
No related branches found
No related tags found
No related merge requests found
...@@ -115,13 +115,16 @@ def main(): ...@@ -115,13 +115,16 @@ def main():
output.write("%d %d %d %d %d " % ((k,) + bbox)) output.write("%d %d %d %d %d " % ((k,) + bbox))
lstr = " ".join("%d %d" % (round(p[0]), round(p[1])) for p in landmarks) lstr = " ".join("%d %d" % (round(p[0]), round(p[1])) for p in landmarks)
output.write(lstr + "\n") output.write(lstr + "\n")
if args.verbose and args.output is not None:
sys.stdout.write('.')
sys.stdout.flush()
else: else:
output.write("%d 0 0 0 0\n" % k) output.write("%d 0 0 0 0\n" % k)
if args.verbose and args.output is not None:
sys.stdout.write('x')
sys.stdout.flush()
if args.verbose and args.output is not None:
sys.stdout.write('.')
sys.stdout.flush()
if args.verbose and args.output is not None: if args.verbose and args.output is not None:
sys.stdout.write('\n') sys.stdout.write('\n')
sys.stdout.flush() sys.stdout.flush()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment