[Detector Support]: 0.15 Beta 3: Coral in use but stats page reports openvino? #15531
-
Describe the problem you are havingI have been using openvino on the cpu for a while now but I just got my hands on a USB coral so I plugged it in and made the relevant changes to my config and restarted. The log shows a TPU found but the stats page still shows ov in use rather than the coral. The 10ms inference speed is the same as I was getting with openvino so I'm not really sure what is in use. Version0.15.0-6b12a45 Frigate config filemqtt:
host: 127.0.0.1
detectors:
ov:
type: edgetpu
device: usb
objects:
track:
- person
- car
record:
enabled: true
retain:
days: 30
mode: motion
alerts:
retain:
days: 365
detections:
retain:
days: 365
birdseye:
enabled: false
# review:
# alerts:
# labels:
# - car
# - person
# required_zones:
# - stairs
# - back_door_step
snapshots:
enabled: true
clean_copy: false
bounding_box: true
retain:
default: 30
objects:
person: 365
car: 365
quality: 90
ffmpeg:
input_args: preset-rtsp-restream
output_args:
record: preset-record-generic-audio-copy
go2rtc:
streams:
front_door:
- rtsp://username:password@192.168.2.10:554/stream1
- ffmpeg:front_door#audio=aac
front_door_sub:
- rtsp://username:password@192.168.2.10:554/stream2
back_door:
- rtsp://username:password@192.168.2.11:554/stream1
- ffmpeg:back_door#audio=aac
back_door_sub:
- rtsp://username:password@192.168.2.11:554/stream2
cameras:
front_door:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_door
roles:
- record
- path: rtsp://127.0.0.1:8554/front_door_sub
roles:
- detect
live:
stream_name: front_door
motion:
mask:
- 0,1,0,0,0.127,0,0.369,0,1,0,1,0.85,0.747,0.575,0.411,0.297,0.254,0.201,0.123,0.05,0.006,0.059,0.009,0.226,0.234,1
- 0.359,0.911,0.5,0.867,0.33,0.419,0.188,0.403
threshold: 30
contour_area: 20
improve_contrast: true
zones:
driveway:
coordinates: 322,124,606,282,587,360,528,360,274,226,133,131,114,59
stairs:
coordinates: 0.192,1,0.392,1,0.791,1,0.675,0.904,0.405,0.867,0.127,0.23,0,0.362
inertia: 3
loitering_time: 0
objects: person
review:
alerts:
required_zones: stairs
back_door:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/back_door
roles:
- record
- path: rtsp://127.0.0.1:8554/back_door_sub
roles:
- detect
live:
stream_name: back_door
motion:
mask:
- 0.472,0,0.325,0.311,0,0.322,0,0
- 1,0,1,0.164,0.861,0.2,0.634,0.1,0.617,0
- 0.908,0.68,0.831,0.999,0.998,0.995,0.997,0.38
- 0.795,0.371,0.751,0.538,0.835,0.689,0.898,0.519
threshold: 30
contour_area: 20
improve_contrast: true
zones:
back_door_step:
coordinates: 1,1,1,0.211,0.969,0.208,0.936,0.338,0.895,0.315,0.642,0.615,0.385,0.925,0.414,1
inertia: 3
loitering_time: 0
objects: person
review:
alerts:
required_zones: back_door_step
version: 0.15-0
camera_groups:
Home:
order: 1
icon: LuHome
cameras:
- back_door
- front_door docker-compose file or Docker CLI commandfrigate:
image: ghcr.io/blakeblackshear/frigate:0.15.0-beta3
container_name: frigate
privileged: true
restart: unless-stopped
network_mode: host
environment:
- TZ=Pacific/Auckland
volumes:
- /opt/frigate/config:/config
- /tmp/gdrive/frigate/media:/media/frigate
- /tmp/cache:/tmp/cache
ports:
- "5000:5000"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp Relevant Frigate log output2024-12-16 08:56:18.138652836 [INFO] Preparing Frigate...
2024-12-16 08:56:18.145660753 [INFO] Starting Frigate...
2024-12-16 08:56:21.017890016 [2024-12-16 21:56:21] frigate.util.config INFO : Checking if frigate config needs migration...
2024-12-16 08:56:21.038605908 [2024-12-16 21:56:21] frigate.util.config INFO : frigate config does not need migration...
2024-12-16 08:56:21.096292492 [2024-12-16 21:56:21] frigate.util.services WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended
2024-12-16 08:56:25.365174502 [2024-12-16 21:56:25] frigate.app INFO : Starting Frigate (0.15.0-6b12a45)
2024-12-16 08:56:25.374993791 [2024-12-16 21:56:25] peewee_migrate.logs INFO : Starting migrations
2024-12-16 08:56:25.375240706 [2024-12-16 21:56:25] peewee_migrate.logs INFO : There is nothing to migrate
2024-12-16 08:56:25.390726065 [2024-12-16 21:56:25] frigate.app INFO : Recording process started: 358
2024-12-16 08:56:25.391339763 [2024-12-16 21:56:25] frigate.app INFO : Review process started: 364
2024-12-16 08:56:25.394791202 [2024-12-16 21:56:25] frigate.app INFO : go2rtc process pid: 96
2024-12-16 08:56:25.406840729 [2024-12-16 21:56:25] detector.ov INFO : Starting detection process: 374
2024-12-16 08:56:28.122321267 [2024-12-16 21:56:25] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-12-16 08:56:28.122553869 [2024-12-16 21:56:25] frigate.app INFO : Output process started: 393
2024-12-16 08:56:28.122731044 [2024-12-16 21:56:25] frigate.app INFO : Camera processor started for front_door: 431
2024-12-16 08:56:28.123618182 [2024-12-16 21:56:25] frigate.app INFO : Camera processor started for back_door: 434
2024-12-16 08:56:28.123807374 [2024-12-16 21:56:25] frigate.app WARNING : The current SHM size of 64.0MB is too small, recommend increasing it to at least 74MB.
2024-12-16 08:56:28.123893840 [2024-12-16 21:56:25] frigate.app INFO : Capture process started for front_door: 436
2024-12-16 08:56:28.123998276 [2024-12-16 21:56:25] frigate.app INFO : Capture process started for back_door: 439
2024-12-16 08:56:28.124107972 [2024-12-16 21:56:26] frigate.api.fastapi_app INFO : Starting FastAPI app
2024-12-16 08:56:28.124242867 [2024-12-16 21:56:26] frigate.api.fastapi_app INFO : FastAPI started
2024-12-16 08:56:28.126246883 [2024-12-16 21:56:28] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found Install methodDocker Compose Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Really stupid oversight in my config, left the detector called "ov" which I suppose is just a name rather than anything important. Problem is resolved |
Beta Was this translation helpful? Give feedback.
Really stupid oversight in my config, left the detector called "ov" which I suppose is just a name rather than anything important. Problem is resolved