Alexander Ernfridsson
d746d84bd4
Replace object tracker with SORT
...
Source: https://github.com/abewley/sort
Commit: c1b808481200d7997413c6e831bc59c8b08b61b8
It has better accuracy when measured in my environment. It
uses a Kalman filter to correct "bad" detections and is able
to recover from lost tracks to some extent. Deep sort is
also an alterative but adds more complexity. This was a
key to be able to get a room tracker working good without
losing track of objects all the time.
Input configuration exposed to user config for users to
calibrate after their needs.
Removed main function together with some plot dependencies
from sort.py to not be needed to add unnecessary deps to
frigate.
2020-08-05 17:54:06 +00:00
Blake Blackshear
3a1f1c946b
better camera name handling
2020-08-01 18:20:44 -05:00
Blake Blackshear
d88745af6e
simplify directory creation
2020-08-01 18:20:44 -05:00
Blake Blackshear
709d917f0c
update snapshot with better scores
2020-08-01 18:20:44 -05:00
Blake Blackshear
918386bdc1
use a random string in the object id instead of the index
2020-08-01 18:20:44 -05:00
Blake Blackshear
a8c0fadf95
make pre_capture time configurable
2020-08-01 18:20:44 -05:00
Blake Blackshear
6dc7b8f246
typo
2020-08-01 18:20:44 -05:00
Blake Blackshear
71f6f0bee4
typo
2020-08-01 18:20:44 -05:00
Blake Blackshear
a00afb61c0
add warning about cache to config
2020-08-01 18:20:44 -05:00
Blake Blackshear
5dbe6c5f36
add mqtt messages to readme
2020-08-01 18:20:44 -05:00
Blake Blackshear
16732aa5b3
update example config
2020-08-01 18:20:44 -05:00
Blake Blackshear
3d2f1437e4
filter objects before triggering events
2020-08-01 18:20:44 -05:00
Blake Blackshear
fbe721c860
remove vsync drop because it breaks segment
2020-08-01 18:20:44 -05:00
Blake Blackshear
7383db60b0
save clips for tracked objects
2020-08-01 18:20:44 -05:00
Blake Blackshear
53ccc903da
switch to MIT license
2020-07-26 12:07:47 -05:00
Blake Blackshear
9d1f9f35e5
fix model paths
2020-07-26 12:07:47 -05:00
Blake Blackshear
c1f522ff54
fix box merging
2020-07-26 12:00:46 -05:00
mattheys
b345571a63
Update CPU model to Mobilenet v2
...
Inference speed went from ~470ms to ~530ms, however average confidence went from ~75% to ~90%+
2020-07-03 12:32:01 -05:00
Blake Blackshear
f29ee6165f
add proxmox tip
2020-07-01 07:49:01 -05:00
Blake Blackshear
ec6432cc5f
add hardware section and fix typos
2020-07-01 07:49:01 -05:00
walthowd
8c917667b6
Added mask overlay example and docker logging
2020-07-01 07:49:01 -05:00
walthowd
941434b8d8
Added mask overlay example
2020-07-01 07:49:01 -05:00
walthowd
2d0632adf8
Updated README with abstracted HA config, expanded tips section
2020-07-01 07:49:01 -05:00
walthowd
f1afaf641a
Mask example images
2020-07-01 07:49:01 -05:00
Blake Blackshear
743116a733
install tzdata
2020-06-02 05:25:02 -05:00
Blake Blackshear
8e77cf25d9
handle ffmpeg process hangs that dont exit ffmpeg
2020-06-02 05:25:02 -05:00
Blake Blackshear
7d33e03943
ensure detection_start doesnt change values between conditions
2020-06-02 05:25:02 -05:00
Blake Blackshear
0c44666c89
drop plasma store stderr logs
2020-06-02 05:25:02 -05:00
Blake Blackshear
ddaa746807
resize to aspect ratio of frame
2020-06-02 05:25:02 -05:00
Blake Blackshear
760e1ffe1d
skip frames in the capture thread instead
2020-06-02 05:25:02 -05:00
Blake Blackshear
15b4024715
expose frame time at each step of processing
2020-06-02 05:25:02 -05:00
Blake Blackshear
918112a793
ensure the previous frame is deleted when the new one is stored
2020-06-02 05:25:02 -05:00
Blake Blackshear
4ee200a81c
move ffmpeg capture to a separate thread and use a queue
2020-06-02 05:25:02 -05:00
Blake Blackshear
e37eba49ff
make object processor resilient to plasma failures
2020-06-02 05:25:02 -05:00
Blake Blackshear
6de8e3bd1f
remove sharedarray references
2020-06-02 05:25:02 -05:00
Blake Blackshear
3a9781c4f8
handle various scenarios with external process failures
2020-06-02 05:25:02 -05:00
Blake Blackshear
a60b9211d2
allow specifying debug view fps and size
2020-03-03 20:26:53 -06:00
Blake Blackshear
777fb1d5d1
Update to latest url for tensorflow lite wheel
2020-03-03 20:26:53 -06:00
Blake Blackshear
8e9110f42e
if the detections dont come back in 10s, give up
2020-03-03 20:26:53 -06:00
Blake Blackshear
c80137e059
call the restart function and handle errors better in the detection process
2020-03-03 20:26:53 -06:00
Blake Blackshear
2768e1dadb
clarify mqtt password readme
2020-03-03 20:26:53 -06:00
Blake Blackshear
2fbba01577
readme updates
2020-03-03 20:26:53 -06:00
Blake Blackshear
e7c536ea31
allow mqtt password to be set by env var
2020-03-03 20:26:53 -06:00
Blake Blackshear
1734c0569a
update benchmark script to mirror actual frigate use
2020-03-03 20:26:53 -06:00
Blake Blackshear
a5bef89123
improve detection processing and restart when stuck
2020-03-03 20:26:53 -06:00
Blake Blackshear
d8aa73d26e
handle ffmpeg process failures in the camera process itself
2020-03-03 20:26:53 -06:00
Blake Blackshear
791409d5e5
add a few print statements for debugging
2020-03-03 20:26:53 -06:00
Blake Blackshear
01bf89907d
dont kill the camera process from the main process
2020-03-03 20:26:53 -06:00
Blake Blackshear
8e73c7e95e
increase the buffer size a bit
2020-03-03 20:26:53 -06:00
Blake Blackshear
088bd18adb
add a few more metrics to debug
2020-03-03 20:26:53 -06:00