Mercurial Hosting > traffic-intelligence
diff scripts/merge-features.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 | 933670761a57 |
children |
line wrap: on
line diff
--- a/scripts/merge-features.py Fri Jun 15 11:18:43 2018 -0400 +++ b/scripts/merge-features.py Fri Jun 15 11:19:10 2018 -0400 @@ -1,10 +1,11 @@ #! /usr/bin/env python3 import sys, argparse, os.path, sqlite3 -import cvutils, utils, moving, storage -from metadata import connectDatabase, Site, VideoSequence, CameraView, getSite from datetime import datetime, timedelta +from trafficintelligence import cvutils, utils, moving, storage +from trafficintelligence.metadata import connectDatabase, Site, VideoSequence, CameraView, getSite + timeConverter = utils.TimeConverter() parser = argparse.ArgumentParser(description='The program merges feature trajectories recorded from the same site synchronously between start and end time.')