skrashevich/double-take

[BUG]Compreface integration not work, No files found, UI rotating indefinitely

DrissiReda opened this issue · 2 comments

Describe the bug
Describe the bug
I'm running a Kubernetes cluster with Double take, frigate, mqtt and compreface.
Frigate capturing objects.
Double take logs show detections but they're not showing up in UI.
In config tab, Compreface is red with error:

24-03-14 21:03:13 error: 1 validation error
24-03-14 21:03:13 error: notify is not of a type(s) object

It worked a couple of months ago, didn't check until now.

Additional Logs

Example of a detection
24-03-14 21:02:26 info: Double Take v1.13.11.8
24-03-14 21:02:26 verbose: {
  telemetry: false,
  auth: true,
  token: { image: '24h' },
  detect: {
    match: {
      save: true,
      base64: false,
      confidence: 60,
      purge: 168,
      min_area: 10000
    },
    unknown: {
      save: true,
      base64: false,
      confidence: 40,
      purge: 8,
      min_area: 0
    }
  },
  time: { timezone: 'Europe/Paris' },
  frigate: {
    attempts: { latest: 10, snapshot: 10, mqtt: true, delay: 0 },
    image: { height: 500 },
    labels: [ 'person' ],
    update_sub_labels: false,
    stop_on_match: true,
    min_area: 0,
    device_tracker_timeout: 30,
    cameras: [],
    url: 'http://frigate.surveillance:5000'
  },
  mqtt: {
    protocol: 'mqtt',
    port: 1883,
    tls: {},
    topics: {
      frigate: 'frigate/events',
      matches: 'double-take/matches',
      cameras: 'double-take/cameras',
      homeassistant: 'homeassistant'
    },
    host: 'rabbitmq.surveillance',
    password: '********',
    username: 'rabbit'
  },
  logs: { level: 'debug', sql: false },
  ui: {
    path: '',
    theme: 'bootstrap4-dark-blue',
    editor: { theme: 'nord_dark' },
    logs: { lines: 5000000 },
    pagination: { limit: 50 },
    thumbnails: { quality: 95, width: 500 }
  },
  server: { port: 3000 },
  cameras: { 'front-door': null, reolink1: { detect: [Object] } },
  detectors: {
    compreface: {
      det_prob_threshold: 0.8,
      timeout: 15,
      opencv_face_required: false,
      key: '********',
      url: 'http://compreface-api.surveillance:8080'
    }
  },
  notify: null,
  schedule: {},
  storage: {
    path: './.storage',
    config: { path: './.storage/config' },
    secrets: { path: './.storage/config', extension: 'yml' },
    media: { path: './.storage' },
    tmp: { path: '/dev/shm/double-take' }
  },
  version: '1.13.11.8'
}

Versions
double take: v1.13.11.8
compreface: 1.2.0
frigate: 0.13.2

Hardware

Kubernetes Cluster on top of Rocky OS on amd64
container image used:  skrashevich/double-take:v1.13.11.8

Expected behavior
Compreface to show up green.
UI to show detections that are showing up in logs.

Screenshots
image

image

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.