Mercurial Hosting > traffic-intelligence
comparison scripts/process.py @ 983:7463c9bc846b
work in progress on script to manage large dataset with multiple sites
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 27 Feb 2018 16:46:06 -0500 |
parents | |
children | a69695d14e59 |
comparison
equal
deleted
inserted
replaced
982:51d8406b2489 | 983:7463c9bc846b |
---|---|
1 #! /usr/bin/env python | |
2 | |
3 import sys, argparse | |
4 | |
5 import storage, cvutils, utils | |
6 from metadata import * | |
7 | |
8 parser = argparse.ArgumentParser(description='This program manages the processing of several files based on a description of the sites and video data in an SQLite database following the metadata module.') | |
9 parser.add_argument('--db', dest = 'metadataFilename', help = 'name of the metadata file', required = True) | |
10 | |
11 # need way of selecting sites as similar as possible to sql alchemy syntax | |
12 # override tracking.cfg from db | |
13 # manage cfg files, overwrite them (or a subset of parameters) | |
14 # delete sqlite files | |
15 # nprocesses | |
16 | |
17 args = parser.parse_args() |