- capture/: frame sampling at configurable fps, ffmpeg audio extraction (WAV, whisper-ready) - vision/: changed-pixel motion scoring, stable/moving segmentation, contour + perspective document detection, Laplacian sharpness scoring, optional CLAHE enhancement - pipeline: two-pass detect (motion timeline, then best-frame crop per stable window) writing crops, debug frames, report.json, and motion_scores.csv - CLI: probe / detect / extract-audio subcommands - config.yaml with tunable thresholds; placeholder packages for events, transcribe, ocr, naming, pdf, review_cli - synthetic sample video generator + 16 unit tests
7 lines
265 B
Python
7 lines
265 B
Python
"""Module 3 (not built yet): capture-event state machine.
|
|
|
|
Will consume the stable windows / motion events from the detection report and
|
|
classify transitions: IDLE, DOCUMENT_PLACED, PAGE_FLIPPED, STACK_CLEARED,
|
|
grouping multi-page events under a shared pod_id.
|
|
"""
|