blakeblackshear.frigate/frigate
Nick 045aac8933
Add object filter ratio (#2952)
* Add object ratio config parameters

Issue: #2948

* Add config test for object filter ratios

Issue: #2948

* Address review comments

- Accept `ratio` default
- Rename `bounds` to `box` for consistency
- Add migration for new field

Issue: #2948

* Fix logical errors

- field migrations require default values
- `clipped` referenced the wrong index for region, since it shifted
- missed an inclusion of `ratio` for detections in `process_frames`
- revert naming `o[2]` as `box` since it is out of scope!

This has now been test-run against a video, so I believe the kinks are
worked out.

Issue: #2948

* Update contributing notes for `make`

Issue: #2948

* Fix migration

- Ensure that defaults match between Event and migration script
- Deconflict migration script number (from rebase)

Issue: #2948

* Filter objects out of ratio bounds

Issue: #2948

* Update migration file to 009

Issue: #2948
2022-04-10 08:25:18 -05:00
..
test Add object filter ratio (#2952) 2022-04-10 08:25:18 -05:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
__main__.py formatting cleanup 2021-02-25 07:01:57 -06:00
app.py add stacktrace to config validation errors 2022-02-18 21:18:26 -06:00
birdseye.png fix logo used for birdseye 2021-10-05 18:40:46 -05:00
config.py Add object filter ratio (#2952) 2022-04-10 08:25:18 -05:00
const.py Allow for ".yaml" (#2244) 2022-02-18 21:18:26 -06:00
edgetpu.py safe refactoring (#2552) 2022-02-18 21:18:26 -06:00
events.py Add object filter ratio (#2952) 2022-04-10 08:25:18 -05:00
http.py FEAT: Ability to set sub labels for specific events (#2949) 2022-03-17 07:18:43 -05:00
log.py Add support for NGINX VOD Module 2021-05-22 07:48:44 -05:00
models.py Add object filter ratio (#2952) 2022-04-10 08:25:18 -05:00
motion.py avoid divide by zero 2022-02-18 21:18:26 -06:00
mqtt.py safe refactoring (#2552) 2022-02-18 21:18:26 -06:00
object_processing.py Add object filter ratio (#2952) 2022-04-10 08:25:18 -05:00
objects.py Add object filter ratio (#2952) 2022-04-10 08:25:18 -05:00
output.py update birdseye to handle stationary objects 2022-02-18 21:18:26 -06:00
record.py remove invalid warning 2022-02-18 21:18:26 -06:00
stats.py check for apex dir 2022-02-18 21:18:26 -06:00
util.py Add object filter ratio (#2952) 2022-04-10 08:25:18 -05:00
video.py Add object filter ratio (#2952) 2022-04-10 08:25:18 -05:00
watchdog.py use s6 to shutdown frigate 2021-09-18 07:40:27 -05:00
zeroconf.py formatting cleanup 2021-02-25 07:01:57 -06:00