Getting started¶
This walkthrough installs the motion-only application, checks a camera-day directory, and creates its first JSON, CSV, and text reports.
Prerequisites¶
| Requirement | Minimum version | Check with |
|---|---|---|
| Python | 3.11 | python --version |
| Recording | MKV, MP4, MOV, or AVI | camreview inspect D:\Cameras\garage\2026-08-12 |
Your recordings must use this filename form:
Camera names may contain underscores. The filename timestamp is the authoritative local start time; filesystem timestamps are ignored.
Install¶
Create an isolated environment and install the package from PyPI:
See Installation for the detection extra, development tools, upgrading, and removal.
First run¶
-
Verify the installed command.
-
Inspect filenames and inferred gaps without decoding video. Replace the path with a real camera-day directory.
The output identifies one camera and date and ends with the detected extensions:
-
Scan the complete selected day.
A successful run prints
Scan completefollowed by absolute paths to these files:
What happened¶
CamReview derived the recording timeline from filenames, probed video durations, sampled frames through a persistent MOG2 background model, and grouped positive samples into events. JSON preserves every event, timeline gap, warning, effective setting, and performance value. CSV and text are review-oriented projections of the same run.
Next steps¶
- Usage selects ranges, classifies events, and extracts footage.
- Configuration tunes motion, decoding, models, and camera masks.
- Command reference lists every flag and default.
- Nightly automation runs one camera per scheduled process.