Rob Hallam
6b83118b91
feat: add to_json() to Source, Interval & Feature
This lets us serialise properly
преди 3 месеца
Rob Hallam
67f181071f
feat: round duration by DEFAULT_PRECISION
associated TODO: make precision configurable
преди 3 месеца
Rob Hallam
246aefd34c
feat: add RandomFeatureExtractor
Simple feature extractor that picks random times, used to exercise other
parts of the pipeline
преди 4 месеца
Rob Hallam
f892d8da41
feat: add LaughterFeatureExtractor
This adds functionality for getting laughter by using jrgillick's
laughter detection library
NB python expects all of the feature extractor's dependencies to be
available; perhaps in future we can do something even fancier like
activating another python env
[retroactive commit]
преди 4 месеца
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
преди 4 месеца
Rob Hallam
ebc288defe
doc: expand Source docstring
преди 4 месеца
Rob Hallam
98f980c7b5
feat: [Interval] add inst. & move time methods
These are useful for changing Intervals (eg consolitation)
преди 4 месеца
Rob Hallam
9b2ddce115
feat: add duration-related methods to SourceMedia
преди 4 месеца
Rob Hallam
fcfc1773bc
feat: add suite of tests for utils module
This covers:
- Source
- SourceMedia
- Interval
преди 4 месеца
Rob Hallam
558739a0cd
feat: add __init__, TestOverlapConsolidation suite
преди 4 месеца
Rob Hallam
05a67c6264
feat: add context to ease testing
преди 4 месеца
Rob Hallam
f4ae8b8916
feat: add Consolidator, OverlapConsolidator
Consolidator:
interface
OverlapConsolidator:
condenses features if their times overlap
преди 4 месеца
Rob Hallam
7cc69265f9
feat: add VideoProducer and FfmpegVideoProducer
Classes for actually making video files
- VideoProducer -- interface
- FfmpegVideoProducer -- make a temporary video using ffmpeg
преди 4 месеца
Rob Hallam
b71840743c
feat: + SourceMedia constructor, Source & Interval
преди 4 месеца
Rob Hallam
1123eed317
feat: add empty LaughterFeatureDetector
for jrgillick/laughter-detection to slot into
преди 4 месеца
Rob Hallam
dbd8ba6051
feat: add empty utils.SourceMedia
преди 4 месеца
Rob Hallam
5bcb115162
feat: add FeatureExtractor interface
or at least what passes for an interface in python
преди 4 месеца
Rob Hallam
c2fb85dfcd
initial commit -- add empty pipeline python package
преди 4 месеца