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