#Debugging cat detection

18 messages · Page 1 of 1 (latest)

ebon tartan
#

Just caught this cat not being detected and tried to understand why.

So I exported a record, added it as a debugcam in loop, and it clearly is detected. Yet it won't show in either alerts of detections. Any idea why?

  backgarden:
    # enabled: false
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/backgarden
          roles:
            - record
            - detect
            - audio
    live:
      stream_name: backgarden
    detect:
      width: 1280
      height: 960
      fps: 5
    #birdseye:
    #  order: 3
    onvif:
      host: 192.168.1.177
      port: 888
      user: foscamadmin
      password: redacted
    motion:
      mask: 
        0,0,0,0.394,0.363,0.373,0.377,0.417,0.372,0.436,0.441,0.442,0.564,0.463,0.715,0.511,0.899,0.456,0.894,0.07,0.882,0
ffmpeg:
  hwaccel_args: preset-vaapi
  input_args: preset-rtsp-restream-low-latency
  output_args:
    record: preset-record-generic-audio-aac

detectors:
  coral:
    type: edgetpu
    device: usb

record:
  enabled: true
  # sync_recordings: true
  retain:
    days: 1 #default=0
    mode: motion #default
  export:
    timelapse_args: -vf setpts=0.125*PTS

  alerts:
    retain:
      days: 5
  detections:
    retain:
      days: 5
motion:
  threshold: 50 # 0-255 default=30 Less is more sensitive (was using 150 for months)
  improve_contrast: true

snapshots:
  enabled: true
  retain:
    default: 10 #days

detect:
  enabled: true

objects:
  track:
    - person
    - cat
    - car
  filters:
    person:
      threshold: 0.8
      min_score: 0.65
    # cat:
    #   threshold: 0.8
    car:
      min_area: 5000

# review:
#   alerts:
#     labels:
#       - bark #placeholder so person is not classed as an alert

audio:
  enabled: false
  listen:
    - scream
    - yell
    - laughter
soft rock
#

what is the review config for the camera?

#

easiest thing to see would just be a screenshot of the camera settings page in the UI

ebon tartan
#

There's nothing apart of what I posted

#

the motion mask covers the trees but that's it

soft rock
#

so when you go to the masks editor you see that cats are enabled for this camera?

ebon tartan
#

there are no specifics for this camera

#

no object masks and no zones. Just the motion mask, and that doesn't mention objects

soft rock
#

Seems the cat just didn't score high enough

ebon tartan
#

78%? I think some fram even showed over 80% too. That was just a random screenshot

#

seems weird. Isn't the default threshold 50%?

soft rock
#

No, the threshold is 70%

#

And that is for the median score

#

The screenshot looks like 61%

#

Can’t tell for sure

ebon tartan
#

well, if it's the median 70 it might be that

#

might tweak it down then

#

thanks!