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 |
|