Blake Blackshear
b2c7fc8f5b
add mask as object filter
2021-01-26 21:40:33 -06:00
Blake Blackshear
96ac2c29d6
add object masks and move moton mask
2021-01-26 21:40:33 -06:00
Blake Blackshear
14a5118b4d
add missing global shapshots config
2021-01-26 21:40:33 -06:00
Paul Armstrong
c618867941
feat!: web user interface
2021-01-26 21:40:33 -06:00
Blake Blackshear
5ad4017510
try to cleanup some migration logging
2021-01-26 21:40:33 -06:00
Blake Blackshear
63e14a98f9
add retention settings for snapshots
2021-01-26 21:40:33 -06:00
Blake Blackshear
25e3fe8eab
init variables on camera state
2021-01-26 21:40:33 -06:00
Blake Blackshear
840f046572
handle process exit exceptions
2021-01-26 21:40:33 -06:00
Blake Blackshear
89e3c2e4b1
store has_clip and has_snapshot on events
2021-01-26 21:40:33 -06:00
Blake Blackshear
c770470b58
add database migrations
2021-01-26 21:40:33 -06:00
Nat Morris
4619836122
Set titles for forked processes
2021-01-26 21:40:33 -06:00
Nat Morris
76403bba8e
New stats module, refactor stats generation out of http module.
...
StatsEmitter thread to send stats to MQTT every 60 seconds by default, optional stats_interval config value.
New service stats attribute, containing uptime in seconds and version.
2021-01-26 21:40:33 -06:00
Blake Blackshear
a9afa303a2
turn off snapshots via mqtt
2021-01-26 21:40:33 -06:00
Blake Blackshear
e5399ae07a
enable turning clips on and off via mqtt
2021-01-26 21:40:33 -06:00
Blake Blackshear
80a5a7b129
cleanup save_Clips/clips inconsistency
2021-01-26 21:40:33 -06:00
Blake Blackshear
9dc97d4b6b
add jpg snapshots to disk and clean up config
2021-01-26 21:40:33 -06:00
Paul Armstrong
d8c9169af2
fix: ensure timestamp is drawn above mask
2021-01-26 21:40:33 -06:00
kluszczyn
b0b2d9d972
Recordings - fix expire_file
2021-01-26 21:40:33 -06:00
Blake Blackshear
fc04bc6046
better mask error handling
2021-01-26 21:40:33 -06:00
Blake Blackshear
9f504253fb
fix tmpfs
2021-01-26 21:40:33 -06:00
Blake Blackshear
961997e078
remove redundant error output
2021-01-26 21:40:33 -06:00
Blake Blackshear
363594a9a2
use CACHE_DIR constant
2021-01-26 21:40:33 -06:00
Blake Blackshear
247e2677f3
enable mounting tmpfs volume on start
2021-01-26 21:40:33 -06:00
Blake Blackshear
bc8b85860c
update process clip for latest changes
2021-01-26 21:40:33 -06:00
Blake Blackshear
44d45c5880
publish event updates on zone change
2021-01-26 21:40:33 -06:00
Blake Blackshear
2cc9a15f6a
handle scenario with empty cache
2021-01-26 21:40:33 -06:00
Blake Blackshear
32fb76b3d1
add num_threads fixes #322
2021-01-26 21:40:33 -06:00
Blake Blackshear
8d52e2635a
optimize clips fixes #299
2021-01-26 21:40:33 -06:00
Blake Blackshear
f20e1f20a6
add post_capture option
2021-01-26 21:40:33 -06:00
Blake Blackshear
af8594c5c6
re-crop to the object rather than the region
2021-01-26 21:40:33 -06:00
Blake Blackshear
899d41f361
allow runtime drawing settings for mjpeg and latest
2021-01-26 21:40:33 -06:00
Blake Blackshear
7dc6382c90
allow the mask to be a list of masks
2021-01-26 21:40:33 -06:00
Blake Blackshear
e8009c2d26
adding version endpoint
2021-01-26 21:40:33 -06:00
Blake Blackshear
3bc7cdaab6
configurable motion and detect settings
2021-01-26 21:40:33 -06:00
Blake Blackshear
8f68df60c7
fix test
2021-01-26 21:40:33 -06:00
Blake Blackshear
6af3cb6134
switch default threshold to .7
2021-01-26 21:40:33 -06:00
Blake Blackshear
2ff0c3907f
allow process clips to output a csv of scores
2021-01-26 21:40:33 -06:00
Blake Blackshear
dd102ff01d
allow db path to be customized
2021-01-26 21:40:33 -06:00
Blake Blackshear
a4b88ac4a7
fix process clip
2021-01-26 21:40:33 -06:00
Blake Blackshear
93b9d586d2
handle empty string args
2021-01-26 21:40:33 -06:00
Blake Blackshear
41dd4447cc
allow region to extend beyond the frame
2021-01-26 21:40:33 -06:00
Blake Blackshear
d0470fffcc
allow defining model shape and switch to mobiledet as default model
2021-01-26 21:40:33 -06:00
Blake Blackshear
5053305e17
add model dimensions to config
2021-01-26 21:40:33 -06:00
Blake Blackshear
3c07767138
handle and warn if roles dont match enabled features
2021-01-26 21:40:33 -06:00
Blake Blackshear
e147852878
catch all psutil errors
2021-01-26 21:40:33 -06:00
Blake Blackshear
e7cdace0ab
comment you zeroconf
2021-01-26 21:40:33 -06:00
Blake Blackshear
f60eb4e977
fix flask logger config
2021-01-26 21:40:33 -06:00
Blake Blackshear
7aecf6c6de
fix graceful exits
2021-01-26 21:40:33 -06:00
Blake Blackshear
75d62096a6
better exception handling
2021-01-26 21:40:33 -06:00
Blake Blackshear
7c44994070
fix default args
2021-01-26 21:40:33 -06:00
Blake Blackshear
4c6e90717a
update some default config values
2021-01-26 21:40:33 -06:00
Blake Blackshear
d60ca9d783
log level configuration
2021-01-26 21:40:33 -06:00
Blake Blackshear
d304718ea0
no need to write jpg disk
2021-01-26 21:40:33 -06:00
Blake Blackshear
c787c8948e
dont delete the recordings directory
2021-01-26 21:40:33 -06:00
Blake Blackshear
62728ef7fb
default save_clips objects
2021-01-26 21:40:33 -06:00
Blake Blackshear
47e256f03d
add logging for directory creation
2021-01-26 21:40:33 -06:00
Blake Blackshear
527db52d5e
exit on config errors
2021-01-26 21:40:33 -06:00
Blake Blackshear
f78b2c48a7
add zeroconf discovery
2021-01-26 21:40:33 -06:00
Blake Blackshear
90c965a32a
optional android notification aspect ratio
2021-01-26 21:40:33 -06:00
Blake Blackshear
d4afcde6c9
reduce min timestamp size
2021-01-26 21:40:33 -06:00
Blake Blackshear
257de89ce4
publish object counts rather than on/off
2021-01-26 21:40:33 -06:00
Blake Blackshear
735cc3962b
make directories constants
2021-01-26 21:40:33 -06:00
Blake Blackshear
feb42181de
cleanup empty directories
2021-01-26 21:40:33 -06:00
Blake Blackshear
65ddd91855
add recording maintenance
2021-01-26 21:40:33 -06:00
Blake Blackshear
6d7d838613
add record settings to config
2021-01-26 21:40:33 -06:00
Blake Blackshear
5edf7b7f00
fix log timeout
2021-01-26 21:40:33 -06:00
Blake Blackshear
117569830d
ensure zones dont have the same name as a camera
2021-01-26 21:40:33 -06:00
Blake Blackshear
d62aec7287
graceful exit of subprocesses
2021-01-26 21:40:33 -06:00
Blake Blackshear
4e0cf3681e
add multiple streams per camera
2021-01-26 21:40:33 -06:00
Blake Blackshear
1acbeb813e
add support for rebroadcasting as rtmp
2021-01-26 21:40:33 -06:00
Blake Blackshear
b87ec752cf
avoid null error
2021-01-26 21:40:33 -06:00
Blake Blackshear
753df31fa6
minimize logging
2021-01-26 21:40:33 -06:00
Blake Blackshear
bd77b74689
oops
2021-01-26 21:40:33 -06:00
Blake Blackshear
810c23d8ee
only publish end events for true positives
2021-01-26 21:40:33 -06:00
Blake Blackshear
34d9b2983e
ensure all events are cleaned up
2021-01-26 21:40:33 -06:00
Blake Blackshear
63c5c8412a
publish events like a change feed
2021-01-26 21:40:33 -06:00
Blake Blackshear
60207723d1
pull from memory if event in progress
2021-01-26 21:40:33 -06:00
Blake Blackshear
f4117ad096
add endpoint for event thumbnail
2021-01-26 21:40:33 -06:00
Blake Blackshear
8bed4e9970
add service to get by id
2021-01-26 21:40:33 -06:00
Blake Blackshear
f72eaf781c
add zones to summary data
2021-01-26 21:40:33 -06:00
Blake Blackshear
e9ecc20a36
sleep in the right place
2021-01-26 21:40:33 -06:00
Blake Blackshear
addfa2a32d
manage events for unlisted cameras
2021-01-26 21:40:33 -06:00
Blake Blackshear
0dad9bc393
add event cleanup thread
2021-01-26 21:40:33 -06:00
Blake Blackshear
5155875a72
add clip retention to config
2021-01-26 21:40:33 -06:00
Blake Blackshear
4ed1217366
use localtime in group by
2021-01-26 21:40:33 -06:00
Blake Blackshear
50e898a684
new http endpoints
2021-01-26 21:40:33 -06:00
Blake Blackshear
251c7fa982
add parameters to event query
2021-01-26 21:40:33 -06:00
Blake Blackshear
00c75e9f98
only save events when a clip is created
2021-01-26 21:40:33 -06:00
Blake Blackshear
1b5b02d286
add bas64 encoded thumbnail to the database
2021-01-26 21:40:33 -06:00
Blake Blackshear
946d655cee
check for None value thumbnail_data
2021-01-26 21:40:33 -06:00
Blake Blackshear
d56710b0b5
only set thumbnail data if object is a true positive
2021-01-26 21:40:33 -06:00
Blake Blackshear
0cf78277b5
add some debug logging to frame cache
2021-01-26 21:40:33 -06:00
Blake Blackshear
ce2a583ff9
dont use a property
2021-01-26 21:40:33 -06:00
Blake Blackshear
84bddad30e
attempt to fix missing thumbs
2021-01-26 21:40:33 -06:00
Blake Blackshear
0ff682504a
better frame handling for best images
2021-01-26 21:40:33 -06:00
Blake Blackshear
5d5984166f
cleanup false_positive attribute
2021-01-26 21:40:33 -06:00
Blake Blackshear
b825eb44fe
ensure some valid thumbnail is available
2021-01-26 21:40:33 -06:00
Blake Blackshear
7015eb66f2
don't save thumbnails for false positives
2021-01-26 21:40:33 -06:00
Blake Blackshear
494eeb16a5
cleanup
2021-01-26 21:40:33 -06:00
Blake Blackshear
692fdc8d5d
reduce logging
2021-01-26 21:40:33 -06:00
Blake Blackshear
ec1a8ebd4a
fixes
2021-01-26 21:40:33 -06:00
Blake Blackshear
3941ce4ad1
stop writing json file to disk
2021-01-26 21:40:33 -06:00
Blake Blackshear
aff87d4372
create tracked object class and save thumbnails
2021-01-26 21:40:33 -06:00
Blake Blackshear
373ca87887
maintain thumbnail frames for tracked objects
2021-01-26 21:40:33 -06:00
Blake Blackshear
03c855ecbe
sort imports
2021-01-26 21:40:33 -06:00
Blake Blackshear
3a3cb24631
naming threads and processes for logs
2021-01-26 21:40:33 -06:00
Blake Blackshear
4c3fea25a5
use a queue for logging
2021-01-26 21:40:33 -06:00
Blake Blackshear
af303cbf2a
create typed config classes
2021-01-26 21:40:33 -06:00
Blake Blackshear
b7c09a9b38
add nginx and change default file locations
2021-01-26 21:40:33 -06:00
Blake Blackshear
eced06eea8
config setup
2021-01-26 21:40:33 -06:00
Blake Blackshear
15d989255c
add watchdog
2021-01-26 21:40:33 -06:00
Blake Blackshear
095566b9c2
add back all endpoints
2021-01-26 21:40:33 -06:00
Blake Blackshear
b77a65d446
add event processor
2021-01-26 21:40:33 -06:00
Blake Blackshear
9778a748fc
add capture processes
2021-01-26 21:40:33 -06:00
Blake Blackshear
a89dddcafa
add camera processors
2021-01-26 21:40:33 -06:00
Blake Blackshear
75973fd4c0
add detected_frames_processor
2021-01-26 21:40:33 -06:00
Blake Blackshear
514036f9d1
add detector processes
2021-01-26 21:40:33 -06:00
Blake Blackshear
36fbedab20
init db/http/mqtt
2021-01-26 21:40:33 -06:00
Blake Blackshear
180baeba50
app container and config schema
2021-01-26 21:40:33 -06:00
Blake Blackshear
cce82fe2a5
move primary script into the module
2021-01-26 21:40:33 -06:00
Blake Blackshear
5512bb2e06
saving events and simple endpoint
2021-01-26 21:40:33 -06:00
Blake Blackshear
422cd52049
store events in tinydb
2021-01-26 21:40:33 -06:00
Blake Blackshear
d67a56d37e
update events model
2021-01-26 21:40:33 -06:00
Michael Wei
0219834dd1
Use cv2.bitwise_and instead of numpy.where
2021-01-26 21:40:33 -06:00
Blake Blackshear
64b63142b1
start the frame rate tracker
2020-10-26 08:01:18 -05:00
Blake Blackshear
cee1ab000b
make ffmpeg pid available for cache maintenance ( fixes #271 )
2020-10-26 08:01:18 -05:00
Blake Blackshear
75977128f0
ensure dummy frame is in yuv shape
2020-10-25 14:30:36 -05:00
Blake Blackshear
eafde6c677
capture ffmpeg in a dedicated process
2020-10-25 14:30:36 -05:00
Blake Blackshear
35ba5e2f7c
improve frame memory management
2020-10-25 14:30:36 -05:00
Blake Blackshear
c6ed16465b
move the timestamp to bottom
2020-10-18 13:47:13 -05:00
Blake Blackshear
8f14b36f5a
tweak size
2020-10-18 13:47:13 -05:00
Blake Blackshear
b6c2491e3b
use the actual original shape
2020-10-18 13:47:13 -05:00
Blake Blackshear
8e31d04d90
scale font of timestamp dynamically
2020-10-18 13:47:13 -05:00
Blake Blackshear
bf93fbb357
add ability to draw bounding boxes/timestamps on snapshots
2020-10-18 13:47:13 -05:00
Blake Blackshear
4363623c45
reduce zone filter bouncing
2020-10-18 13:47:13 -05:00
Blake Blackshear
c960914ec3
prevent the camera process from hanging
2020-10-18 13:47:13 -05:00
Blake Blackshear
76befc1249
only draw during debug
2020-10-18 13:47:13 -05:00
Blake Blackshear
e4da3822b1
cleanup detection shms
2020-10-18 13:47:13 -05:00
Blake Blackshear
12c4cd77c5
only convert pix_fmt when necessary
2020-10-18 13:47:13 -05:00
Blake Blackshear
a611cbb942
use yuv420p pixel format for motion
2020-10-18 13:47:13 -05:00
Blake Blackshear
f946813ccb
support multiple coral devices ( fixes #100 )
2020-10-18 13:47:13 -05:00
Blake Blackshear
54cb4a2180
prevent frame from being deleted while in use
2020-10-18 13:47:13 -05:00
Blake Blackshear
efdcfcef97
cleanup
2020-10-18 13:47:13 -05:00
Blake Blackshear
574ee2a46f
update detection handoff to use shared memory
2020-10-18 13:47:13 -05:00
Blake Blackshear
ec4d048905
upgrade to python3.8 and switch from plasma store to shared_memory
2020-10-18 13:47:13 -05:00
Blake Blackshear
b063099b2a
fix zone filters fixes #218
2020-10-11 11:38:32 -05:00
Blake Blackshear
b35cc01035
allow the best image timeout to be configurable
2020-09-18 07:14:44 -05:00
Blake Blackshear
7880d24b29
prevent the cache from growing indefinitely
2020-09-17 07:37:27 -05:00
Blake Blackshear
fdc8bbf72d
move zone config under each camera
2020-09-17 07:37:27 -05:00
Blake Blackshear
005e188d38
continue if frames not in frame manager
2020-09-17 07:37:27 -05:00
Blake Blackshear
adcc3e9b98
copy obj so crop doesnt change
2020-09-17 07:37:27 -05:00
Blake Blackshear
5fe201da25
avoid processing broken frames
2020-09-17 07:37:27 -05:00
Blake Blackshear
974f7bd0df
fix mqtt snapshot
2020-09-17 07:37:27 -05:00
Blake Blackshear
780ae7cd4f
allow specifying labels to save clips for
2020-09-17 07:37:27 -05:00
Blake Blackshear
50e568b84c
allow setting size and cropping of snapshots and best.jpg endpoint
2020-09-17 07:37:27 -05:00
Blake Blackshear
1ce993051e
add support for polygon masks
2020-09-17 07:37:27 -05:00
Blake Blackshear
69406343ee
allow setting the camera fps if needed
2020-09-17 07:37:27 -05:00
Blake Blackshear
1c33b8acb2
handle mask files that failed to read
2020-09-17 07:37:27 -05:00
Blake Blackshear
5e77436d39
fix coral fps value
2020-09-17 07:37:27 -05:00
Blake Blackshear
c16ee3186f
fix masks
2020-09-17 07:37:27 -05:00
Blake Blackshear
bfcaabecfa
fix var name
2020-09-17 07:37:27 -05:00
Blake Blackshear
606fa6f6d5
once a true positive always a true positive
2020-09-17 07:37:27 -05:00
Blake Blackshear
6a8d8bf53d
dont trigger zones for false positives
2020-09-17 07:37:27 -05:00
Blake Blackshear
1f81cba706
only save a clip if its not a false positive
2020-09-17 07:37:27 -05:00
Blake Blackshear
5db7b242aa
another fix
2020-09-17 07:37:27 -05:00
Blake Blackshear
0b7f65e227
fixes
2020-09-17 07:37:27 -05:00
Blake Blackshear
2f758af097
allow setting specific edgetpu in config
2020-09-17 07:37:27 -05:00
Blake Blackshear
f64320a464
remove invalid tests
2020-09-17 07:37:27 -05:00
Blake Blackshear
acb75fa02d
refactor and reduce false positives
2020-09-17 07:37:27 -05:00
Blake Blackshear
ea4ecae27c
Refactor with a working false positive test
2020-09-17 07:37:27 -05:00
Carl Elkins
a8556a729b
Added support for PCIe TPU, as well as USB
...
Also added message showing which found
2020-09-04 20:56:16 -05:00
Ryan Press
df2aae5169
Fix zone filters
2020-08-19 09:58:53 -05:00
Blake Blackshear
469259d663
dont refresh cache if exiting
2020-08-08 07:40:48 -05:00
Blake Blackshear
f3db69d975
update docs
2020-08-08 07:40:48 -05:00
Blake Blackshear
0ae2806eb4
fix overwriting variable
2020-08-08 07:40:48 -05:00
Blake Blackshear
adcfe699c2
ensure frigate can exit gracefully
2020-08-08 07:40:48 -05:00
Blake Blackshear
e6c6338266
allow mask to be base64 encoded into the config file
2020-08-08 07:40:48 -05:00
Blake Blackshear
69f5249788
initial implementation of zones
2020-08-08 07:40:48 -05:00
Blake Blackshear
3a1f1c946b
better camera name handling
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
3d2f1437e4
filter objects before triggering events
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
c1f522ff54
fix box merging
2020-07-26 12:00:46 -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
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
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
8e73c7e95e
increase the buffer size a bit
2020-03-03 20:26:53 -06:00
Blake Blackshear
2e8c7ec225
cleanup the plasma store when finished with a frame
2020-03-03 20:26:53 -06:00
Blake Blackshear
dfabff3846
dont change dictionary while iterating
2020-03-03 20:26:53 -06:00
Blake Blackshear
76a7a3bad5
allow specifying the frame size in the config instead of detecting
2020-03-03 20:26:53 -06:00
Blake Blackshear
a3fa97dd52
ensure missing objects are expired even when other object types are in the frame
2020-03-03 20:26:53 -06:00
Blake Blackshear
1d2a41129c
Fix watchdog last_frame calculation
2020-03-03 20:26:53 -06:00
Blake Blackshear
e6892d66b8
update docs and add back benchmark
2020-03-03 20:26:53 -06:00
Blake Blackshear
3e6f6edf7e
check avg wait before dropping frames
2020-03-03 20:26:53 -06:00
Blake Blackshear
6f6d202c99
improve watchdog and coral fps tracking
2020-03-03 20:26:53 -06:00
Blake Blackshear
05951aa7da
cleanup
2020-03-03 20:26:53 -06:00
Blake Blackshear
bb8e4621f5
add models and convert speed to ms
2020-03-03 20:26:53 -06:00
Blake Blackshear
04e9ab5ce4
add watchdog for camera processes
2020-03-03 20:26:53 -06:00
Blake Blackshear
1089a40943
cleanup old code
2020-03-03 20:26:53 -06:00
Blake Blackshear
68c3a069ba
add a min_fps option
2020-03-03 20:26:53 -06:00
Blake Blackshear
80b9652f7a
check plasma store and consolidate frame drawing
2020-03-03 20:26:53 -06:00
Blake Blackshear
569e07949f
split into separate processes
2020-03-03 20:26:53 -06:00
Blake Blackshear
c539993387
refactor some classes into new files
2020-03-03 20:26:53 -06:00
Blake Blackshear
cd057370e1
fallback to opencv to detect resolution and allow config to specify
2020-02-22 09:03:00 -06:00
Blake Blackshear
6263912655
use ffprobe to get frame shape ( fixes #87 )
2020-02-22 09:03:00 -06:00
Blake Blackshear
af247275cf
make timestamp on snapshots configurable ( fixes #88 )
2020-02-22 09:03:00 -06:00
Blake Blackshear
1198c29dac
make watchdog timeout configurable per camera ( fixes #95 )
2020-02-22 09:03:00 -06:00
Blake Blackshear
169603d3ff
attempt to fix regions in process key error
2020-02-22 09:03:00 -06:00
Blake Blackshear
ebcf1482f8
remove region in process when skipping
2020-02-22 09:03:00 -06:00
Blake Blackshear
38efbd63ea
add camera name to ffmpeg log messages
2020-02-22 09:03:00 -06:00
Blake Blackshear
50bcad8b77
skip regions when the queue is too full and add more locks
2020-02-22 09:03:00 -06:00
Blake Blackshear
cfffb219ae
switch back to stretch for hwaccel issues
2020-02-22 09:03:00 -06:00
Blake Blackshear
382d7be50a
check correct object
2020-02-22 09:03:00 -06:00
Blake Blackshear
38e7fa07d2
add a label position arg for bounding boxes
2020-02-22 09:03:00 -06:00
Blake Blackshear
e261c20819
let the queues get as big as needed
2020-02-22 09:03:00 -06:00
Blake Blackshear
3a66e672d3
notify mqtt when objects deregistered
2020-02-22 09:03:00 -06:00
Blake Blackshear
2aada930e3
fix multiple object type tracking
2020-02-22 09:03:00 -06:00
Blake Blackshear
d87f4407a0
switch everything to run off of tracked objects
2020-02-22 09:03:00 -06:00
Blake Blackshear
be5a114f6a
group by label before tracking objects
2020-02-22 09:03:00 -06:00
Blake Blackshear
32b212c7b6
fix mask filtering
2020-02-22 09:03:00 -06:00
Blake Blackshear
76c8e3a12f
make a copy
2020-02-22 09:03:00 -06:00
Blake Blackshear
16f7a361c3
fix object filters
2020-02-22 09:03:00 -06:00
Blake Blackshear
634b87307f
group by label before suppressing boxes
2020-02-22 09:03:00 -06:00
Blake Blackshear
1d4fbbdba3
update all obj props
2020-02-22 09:03:00 -06:00
Blake Blackshear
65579e9cbf
add thread to write frames to disk
2020-02-22 09:03:00 -06:00
Blake Blackshear
49dc029c43
merge boxes by label
2020-02-22 09:03:00 -06:00
Blake Blackshear
5199242a68
remove unused current frame variable
2020-02-22 09:03:00 -06:00
Blake Blackshear
10dc56f6ea
revamp dockerfile
2020-02-22 09:03:00 -06:00
Blake Blackshear
cc2abe93a6
track objects and add config for tracked objects
2020-02-22 09:03:00 -06:00
Blake Blackshear
0c6717090c
implement filtering and switch to NMS with OpenCV
2020-02-22 09:03:00 -06:00
Blake Blackshear
f5a2252b29
cleanup imports
2020-02-22 09:03:00 -06:00
Blake Blackshear
02efb6f415
fixing a few things
2020-02-22 09:03:00 -06:00
Blake Blackshear
5b4c6e50bc
dedupe detected objects
2020-02-22 09:03:00 -06:00
Blake Blackshear
9cc46a71cb
working dynamic regions, but messy
2020-02-22 09:03:00 -06:00
Blake Blackshear
be1673b00a
process detected objects in a queue
2020-02-22 09:03:00 -06:00
Blake Blackshear
b6130e77ff
label threads and implements stats endpoint
2020-02-22 09:03:00 -06:00
Blake Blackshear
4180c710cd
refactor resizing into generic priority queues
2020-02-22 09:03:00 -06:00
Blake Blackshear
ab3e70b4db
check to see if we have a frame before trying to send
2020-01-02 07:39:57 -06:00
Blake Blackshear
d90e408d50
set the current object status to off when expired
2020-01-02 07:39:57 -06:00