view python/tests/storage.txt @ 225:d4d3b1e8a9f1

added code to process only needed frames based on saved features
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 26 Jun 2012 03:37:19 -0400
parents 5e2983b05d4e
children dc1faa7287bd
line wrap: on
line source

>>> from storage import *

>>> loadPrototypeMatchIndexesFromSqlite("nonexistent")
DB Error: no such table: prototypes
[]
>>> loadTrajectoriesFromSqlite("nonexistent", 'feature')
DB Error: no such table: positions
[]