Mercurial > hg > nsaunier > traffic-intelligence
comparison scripts/extract-appearance-images.py @ 998:933670761a57
updated code to python 3 (tests pass and scripts run, but non-executed parts of code are probably still not correct)
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Sun, 27 May 2018 23:22:48 -0400 |
| parents | 053484e08947 |
| children | cc5cb04b04b0 |
comparison
equal
deleted
inserted
replaced
| 997:4f3387a242a1 | 998:933670761a57 |
|---|---|
| 1 #! /usr/bin/env python | 1 #! /usr/bin/env python3 |
| 2 | 2 |
| 3 import numpy as np, cv2 | 3 import numpy as np, cv2 |
| 4 import argparse, os | 4 import argparse, os |
| 5 from pandas import read_csv | 5 from pandas import read_csv |
| 6 from matplotlib.pyplot import imshow, figure | 6 from matplotlib.pyplot import imshow, figure |
