blakeblackshear.frigate/frigate/test
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
..
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
const.py Http tests (#3350) 2022-06-30 07:53:46 -05:00
test_camera_pw.py Support special characters in passwords, redacted logs & debug config (#4057) 2022-11-02 07:00:54 -05:00
test_config.py Add go2rtc and add restream role / live source (#4082) 2022-11-02 06:36:09 -05:00
test_copy_yuv_to_position.py maintain aspect ratio for birdseye 2021-06-23 08:15:15 -05:00
test_http.py fix plus enabled for addons 2022-07-22 08:12:58 -05:00
test_object_detector.py Refactor to simplify support for additional detector types (#3656) 2022-11-03 21:23:09 -05:00
test_reduce_boxes.py Run python unit tests in a github actions (#2589) 2022-02-18 21:18:26 -06:00
test_restream.py Add go2rtc and add restream role / live source (#4082) 2022-11-02 06:36:09 -05:00
test_storage.py Limit recording retention to available storage (#3942) 2022-10-09 06:28:26 -05:00
test_yuv_region_2_rgb.py add lint check to workflow 2022-04-16 09:08:10 -05:00