blakeblackshear.frigate/frigate
Nate Meyer 4383b883c0
Refactor to simplify support for additional detector types (#3656)
* Refactor EdgeTPU and CPU model handling to detector submodules.

* Fix selecting the correct detection device type from the config

* Remove detector type check when creating ObjectDetectProcess

* Fixes after rebasing to 0.11

* Add init file to detector folder

* Rename to detect_api

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Add unit test for LocalObjectDetector class

* Add configuration for model inputs
Support transforming detection regions to RGB or BGR.
Support specifying the input tensor shape.  The tensor shape has a standard format ["BHWC"] when handed to the detector, but can be transformed in the detector to match the model shape using the model  input_tensor config.

* Add documentation for new model config parameters

* Add input tensor transpose to LocalObjectDetector

* Change the model input tensor config to use an enumeration

* Updates for model config documentation

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2022-11-03 21:23:09 -05:00
..
detectors Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
test Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
__init__.py
__main__.py Typing: mypy fixes for 2022-04-17 08:55:38 -05:00
app.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
birdseye.png
config.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
const.py Support special characters in passwords, redacted logs & debug config (#4057) 2022-11-02 07:00:54 -05:00
events.py
http.py Support special characters in passwords, redacted logs & debug config (#4057) 2022-11-02 07:00:54 -05:00
log.py Support special characters in passwords, redacted logs & debug config (#4057) 2022-11-02 07:00:54 -05:00
models.py Limit recording retention to available storage (#3942) 2022-10-09 06:28:26 -05:00
motion.py Adjust threshold and contour_area with mqtt 2022-07-05 08:46:10 -05:00
mqtt.py Update MQTT along with enabling motion detection (#3898) 2022-10-01 09:01:43 -05:00
mypy.ini Typing: mypy fixes for 2022-04-17 08:55:38 -05:00
object_detection.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
object_processing.py Mqtt sub labels (#3899) 2022-10-01 09:00:56 -05:00
objects.py
output.py Add go2rtc and add restream role / live source (#4082) 2022-11-02 06:36:09 -05:00
plus.py read plus api key from addon options 2022-06-30 07:19:40 -05:00
record.py Catch case where segment is bad length (#4228) 2022-11-02 06:37:27 -05:00
restream.py Add go2rtc and add restream role / live source (#4082) 2022-11-02 06:36:09 -05:00
stats.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
storage.py Limit recording retention to available storage (#3942) 2022-10-09 06:28:26 -05:00
types.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
util.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
video.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
watchdog.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
zeroconf.py