tvaLib
Classes | Namespaces | Functions | Variables
metadata.py File Reference

Go to the source code of this file.

Classes

class  lib.metadata.CamType
 Basic TI objects. More...
 
class  lib.metadata.Site
 
class  lib.metadata.CameraView
 
class  lib.metadata.VideoSequence
 
class  lib.metadata.Cluster
 
class  lib.metadata.Analysis
 
class  lib.metadata.SiteAnalysis
 
class  lib.metadata.HLIRoundaboutQuadrant
 HLI extensions. More...
 
class  lib.metadata.HLIOriginDestination
 
class  lib.metadata.HLIStopSign
 

Namespaces

 

Functions

def lib.metadata.connectToDatabase (dbPath)
 Tools. More...
 
def lib.metadata.upgradeDatabase (dbPath, tableName, columnNames, columnTypes)
 
def lib.metadata.createDatabase (filename=':memory:')
 Basic TI DB handlers. More...
 
def lib.metadata.connectDatabase (filename=':memory:')
 
def lib.metadata.initializeSites (session, directoryName)
 

Variables

 lib.metadata.Base = declarative_base()
 
def lib.metadata.session = createDatabase()
 Example. More...
 
def lib.metadata.camTypes = session.query(CamType).all()
 Add camera types. More...
 
def lib.metadata.sites = session.query(Site).all()
 Add sites. More...
 
def lib.metadata.cameras = session.query(CameraView).all()
 Add Cameras. More...
 
def lib.metadata.sequences = session.query(VideoSequence).all()
 Add Sequences. More...
 
def lib.metadata.site_analyses = session.query(SiteAnalysis).all()
 Add analysis sites. More...
 
def lib.metadata.analyses = session.query(Analysis).all()