Rob Hallam
6b83118b91
feat: add to_json() to Source, Interval & Feature
This lets us serialise properly
vor 3 Monaten
Rob Hallam
67f181071f
feat: round duration by DEFAULT_PRECISION
associated TODO: make precision configurable
vor 3 Monaten
Rob Hallam
2f959c516a
feat: add Feature class for extracted AV features
This composes an Interval with some ancillary data:
- source (what feature extractor did we get this from)
- path (where is it now on the FS)
- score (for ranking)
TODO double check we aren't overloading the word 'source' to have two
meanings
vor 4 Monaten
Rob Hallam
ebc288defe
doc: expand Source docstring
vor 4 Monaten
Rob Hallam
98f980c7b5
feat: [Interval] add inst. & move time methods
These are useful for changing Intervals (eg consolitation)
vor 4 Monaten
Rob Hallam
9b2ddce115
feat: add duration-related methods to SourceMedia
vor 4 Monaten
Rob Hallam
b71840743c
feat: + SourceMedia constructor, Source & Interval
vor 4 Monaten
Rob Hallam
dbd8ba6051
feat: add empty utils.SourceMedia
vor 4 Monaten