Skip to content
Discussion options

You must be logged in to vote

The correct syntax would be:

detectors:
  coral:
    type: edgetpu
    device: usb

detect:
  enabled: true
  width: 640
  height: 360

However, this would apply a detect width and height of 640x360 to all of your cameras, as this is defining a detect section at the global level of your config. I'm not sure that's what you want.

You can specify the detect width and height at the camera level, eg:

detectors:
  coral:
    type: edgetpu
    device: usb

detect:
  enabled: true
  
cameras:
  camera_one:
    ffmpeg:
      ...
    detect:
      width: 640
      height: 360
    ...

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@ElectronicBattle
Comment options

@hawkeye217
Comment options

@ElectronicBattle
Comment options

@hawkeye217
Comment options

Answer selected by ElectronicBattle
@ElectronicBattle
Comment options

@hawkeye217
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment