DVR-Scan icon indicating copy to clipboard operation
DVR-Scan copied to clipboard

Store results to file/stdout as JSON or other structured format

Open DanubeRS opened this issue 8 months ago • 1 comments

Description of Problem & Solution I am looking at using dvr-scan CLI to detect intervals of high movement in a security/dashcam scenario, and encode the videos more effectively if they are still motion. I intend to use a tdarr (or maybe an alternative) pipeline to constantly process input files, as well as clean up older, insignificant detections. I also would like to build bounding-box overlays without modifying the original files.

Proposed Implementation: When movement is detected, and a bounding box is calculated, build a metadata file with metadata of the detected event(s). The metadata should contain events, as well as the bounding box keyframes (ideally in a unit-less coordinate system), which can then be stored and overlaid at a later date.

Additionally, provide frame metrics, motion score, and possibly an event score to determine how noticeable the event is, allowing for the filtering out of insignificant detections at a later date.

DanubeRS avatar Jun 02 '25 05:06 DanubeRS

This is a good idea, I'll consider this for the next release.

Breakthrough avatar Jul 11 '25 02:07 Breakthrough