diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/process.py	Tue Feb 27 16:46:06 2018 -0500
@@ -0,0 +1,17 @@
+#! /usr/bin/env python
+
+import sys, argparse
+
+import storage, cvutils, utils
+from metadata import *
+
+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.')
+parser.add_argument('--db', dest = 'metadataFilename', help = 'name of the metadata file', required = True)
+
+# need way of selecting sites as similar as possible to sql alchemy syntax
+# override tracking.cfg from db
+# manage cfg files, overwrite them (or a subset of parameters)
+# delete sqlite files
+# nprocesses
+
+args = parser.parse_args()