[Detector Support]: Developing a detector plugin #17983
-
Describe the problem you are havingI am wanting to develop a detector plugin for the Orion O6 to make use of its NPU. Before doing any integration with the NPU, my first goal is to purely hook into Frigates detector plugin system. I have created file
Then I connect to the shell of the dev container and start frigate with;
As frigate starts I can see in the log output that the plugin's init() call has been triggered;
However I don't see any logging output for calls made to What am I missing with the plugin hooks/configuration? Version0.16.0-a9f139e0 Frigate config filemqtt:
host: mqtt
logger:
default: debug
detectors:
orion:
type: oriono6
model:
width: 640
height: 640
input_tensor: nhwc
input_pixel_format: bgr
input_dtype: int
model_type: yolo-generic
labelmap_path: /labelmap/coco-80.txt
path: /config/model_cache/oriono6/yolov8_l.cix
cameras:
test:
ffmpeg:
inputs:
- path: /media/frigate/palace.mp4
input_args: -re -stream_loop -1 -fflags +genpts
roles:
- detect
- rtmp
detect:
width: 1280
height: 720
fps: 5
enabled: true
version: 0.16-0 docker-compose file or Docker CLI commandUsing the default devcontainer.json setup running Frigate in a Dev Container via VS Code. Relevant Frigate log outputAs above. Install methodDocker Compose Object DetectorOther Screenshots of the Frigate UI's System metrics pagesn/a Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Check the logs, you'll likely have an error indicating it couldn't be selected. Otherwise, are you sure motion has been detected and detect is enabled |
Beta Was this translation helpful? Give feedback.
you might have too much motion and the motion detection isn't able to calibrate. If you enable regions and see green boxes then that means detection should be running