Rob Hallam
6b83118b91
feat: add to_json() to Source, Interval & Feature
This lets us serialise properly
3 months ago
Rob Hallam
67f181071f
feat: round duration by DEFAULT_PRECISION
associated TODO: make precision configurable
3 months ago
Rob Hallam
246aefd34c
feat: add RandomFeatureExtractor
Simple feature extractor that picks random times, used to exercise other
parts of the pipeline
4 months ago
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 months ago
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 months ago
Rob Hallam
ebc288defe
doc: expand Source docstring
4 months ago
Rob Hallam
98f980c7b5
feat: [Interval] add inst. & move time methods
These are useful for changing Intervals (eg consolitation)
4 months ago
Rob Hallam
9b2ddce115
feat: add duration-related methods to SourceMedia
4 months ago
Rob Hallam
fcfc1773bc
feat: add suite of tests for utils module
This covers:
- Source
- SourceMedia
- Interval
4 months ago
Rob Hallam
558739a0cd
feat: add __init__, TestOverlapConsolidation suite
4 months ago
Rob Hallam
05a67c6264
feat: add context to ease testing
4 months ago
Rob Hallam
f4ae8b8916
feat: add Consolidator, OverlapConsolidator
Consolidator:
interface
OverlapConsolidator:
condenses features if their times overlap
4 months ago
Rob Hallam
7cc69265f9
feat: add VideoProducer and FfmpegVideoProducer
Classes for actually making video files
- VideoProducer -- interface
- FfmpegVideoProducer -- make a temporary video using ffmpeg
4 months ago
Rob Hallam
b71840743c
feat: + SourceMedia constructor, Source & Interval
4 months ago
Rob Hallam
1123eed317
feat: add empty LaughterFeatureDetector
for jrgillick/laughter-detection to slot into
4 months ago
Rob Hallam
dbd8ba6051
feat: add empty utils.SourceMedia
4 months ago
Rob Hallam
5bcb115162
feat: add FeatureExtractor interface
or at least what passes for an interface in python
4 months ago
Rob Hallam
c2fb85dfcd
initial commit -- add empty pipeline python package
4 months ago