Mercurial Hosting > traffic-intelligence
diff scripts/manual-video-analysis.py @ 1118:234e2228fd30
minor
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 25 Jun 2019 17:23:43 -0400 |
parents | 933670761a57 |
children | 79c18dde0864 |
line wrap: on
line diff
--- a/scripts/manual-video-analysis.py Tue Jun 25 00:38:56 2019 -0400 +++ b/scripts/manual-video-analysis.py Tue Jun 25 17:23:43 2019 -0400 @@ -2,7 +2,7 @@ import sys, argparse, cv2, numpy as np -parser = argparse.ArgumentParser(description=''''The program replays the video and allows to manually id vehicles and mark instants, eg when they cross given areas in the scene. Use this program in combination with a screen marker program (For example, Presentation Assistant) to draw multiple lines on the screen.''', +parser = argparse.ArgumentParser(description='''The program replays the video and allows to manually id vehicles and mark instants, eg when they cross given areas in the scene. Use this program in combination with a screen marker program (For example, Presentation Assistant) to draw multiple lines on the screen.''', epilog = '''The output should give you a .csv file with the same name as your video file with columns in this format: vehicle number, frame number You can easily spot mistakes in the csv file for a line with number, SKIP. If this happens, just delete the previous vehicle observation.''',