Mercurial Hosting > traffic-intelligence
diff scripts/init-tracking.py @ 1028:cc5cb04b04b0
major update using the trafficintelligence package name and install through pip
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 15 Jun 2018 11:19:10 -0400 |
parents | 16932cefabc1 |
children | cdf1773ba89e |
line wrap: on
line diff
--- a/scripts/init-tracking.py Fri Jun 15 11:18:43 2018 -0400 +++ b/scripts/init-tracking.py Fri Jun 15 11:19:10 2018 -0400 @@ -1,10 +1,13 @@ #! /usr/bin/env python3 -import sys, argparse, os.path, storage, utils +import sys, argparse, os.path from shutil import copy + from cvutils import getImagesFromVideo from matplotlib.pyplot import imsave +from trafficintelligence import storage, utils + # could try to guess the video # check if there is already a tracking.cfg file