mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 09:15:22 +03:00
Lock updates to tracked objects, current frame time, motion boxes, and regions on `update()`. Directly create Counters using counted values. Don't convert removed_ids, new_ids, or updated_ids sets to lists. Update defaultdict's to remove un-necessary lambdas when possible. When possible, drop un-necessay list comprehensions, such as when calling `any`. Use set comprehension, rather than passing a list comprehension into `set()`. Do the slightly more pythonic `x not in y` rather than `not x in y` to check list inclusion. |
||
|---|---|---|
| .. | ||
| test | ||
| __init__.py | ||
| __main__.py | ||
| app.py | ||
| config.py | ||
| const.py | ||
| edgetpu.py | ||
| events.py | ||
| http.py | ||
| log.py | ||
| models.py | ||
| motion.py | ||
| mqtt.py | ||
| object_processing.py | ||
| objects.py | ||
| process_clip.py | ||
| record.py | ||
| stats.py | ||
| util.py | ||
| video.py | ||
| watchdog.py | ||
| zeroconf.py | ||