Maybe you can tell me what I am doing wrong?
I see the cams on frigate and I see events in frigate.
I see detection on docker
but in double take its show me “no files”
this is the conf in double take
I have logs from double take
21-12-05 08:20:53 info: processing front: 704605e4-b3fc-469c-a73e-f624bfe24764
21-12-05 08:20:53 error: TypeError: deepstack process error: Cannot read properties of undefined (reading 'flatMap')
at Object.module.exports.normalize (/double-take/api/src/util/detectors/deepstack.js:68:39)
at module.exports.normalize (/double-take/api/src/util/detectors/actions/index.js:8:25)
at Object.module.exports.process (/double-take/api/src/util/process.util.js:142:33)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
at async Object.module.exports.start (/double-take/api/src/util/process.util.js:120:17)
at async module.exports.polling (/double-take/api/src/util/process.util.js:53:25)
at async Promise.all (index 0)
at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:148:7)
21-12-05 08:20:53 info: done processing front: 704605e4-b3fc-469c-a73e-f624bfe24764 in 0.01 sec
21-12-05 08:20:53 info: {
id: '704605e4-b3fc-469c-a73e-f624bfe24764',
duration: 0.01,
timestamp: '2021-12-05T06:20:53.531Z',
attempts: 1,
camera: 'front',
zones: [],
matches: [],
misses: []
}
21-12-05 08:20:54 info: processing Door Camera: 1638685244.83641-xw0vbs
21-12-05 08:20:54 error: TypeError: deepstack process error: Cannot read properties of undefined (reading 'flatMap')
at Object.module.exports.normalize (/double-take/api/src/util/detectors/deepstack.js:68:39)
at module.exports.normalize (/double-take/api/src/util/detectors/actions/index.js:8:25)
at Object.module.exports.process (/double-take/api/src/util/process.util.js:142:33)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
at async Object.module.exports.start (/double-take/api/src/util/process.util.js:120:17)
at async module.exports.polling (/double-take/api/src/util/process.util.js:53:25)
at async Promise.all (index 1)
at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:148:7)
21-12-05 08:20:54 error: TypeError: deepstack process error: Cannot read properties of undefined (reading 'flatMap')
at Object.module.exports.normalize (/double-take/api/src/util/detectors/deepstack.js:68:39)
at module.exports.normalize (/double-take/api/src/util/detectors/actions/index.js:8:25)
at Object.module.exports.process (/double-take/api/src/util/process.util.js:142:33)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
at async Object.module.exports.start (/double-take/api/src/util/process.util.js:120:17)
at async module.exports.polling (/double-take/api/src/util/process.util.js:53:25)
at async Promise.all (index 0)
at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:148:7)
21-12-05 08:20:54 info: done processing Door Camera: 1638685244.83641-xw0vbs in 0.18 sec
21-12-05 08:20:54 info: {
id: '1638685244.83641-xw0vbs',
duration: 0.18,
timestamp: '2021-12-05T06:20:54.269Z',
attempts: 2,
camera: 'Door Camera',
zones: [],
matches: [],
misses: []
}
21-12-05 08:21:02 info: processing door camera: d343ebb2-3837-447c-91ba-19566bef2ad9
21-12-05 08:21:02 error: TypeError: deepstack process error: Cannot read properties of undefined (reading 'flatMap')
at Object.module.exports.normalize (/double-take/api/src/util/detectors/deepstack.js:68:39)
at module.exports.normalize (/double-take/api/src/util/detectors/actions/index.js:8:25)
at Object.module.exports.process (/double-take/api/src/util/process.util.js:142:33)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
at async Object.module.exports.start (/double-take/api/src/util/process.util.js:120:17)
at async module.exports.polling (/double-take/api/src/util/process.util.js:53:25)
at async Promise.all (index 0)
at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:148:7)
21-12-05 08:21:02 info: done processing door camera: d343ebb2-3837-447c-91ba-19566bef2ad9 in 0.01 sec
21-12-05 08:21:02 info: {
id: 'd343ebb2-3837-447c-91ba-19566bef2ad9',
duration: 0.01,
timestamp: '2021-12-05T06:21:02.125Z',
attempts: 1,
camera: 'door camera',
zones: [],
matches: [],
misses: []
}
21-12-05 10:51:37 info: Double Take v1.7.0-bf3e911
21-12-05 10:51:37 info: MQTT: connected
21-12-05 10:51:37 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
21-12-05 11:08:55 info: Double Take v1.7.0-bf3e911
21-12-05 11:08:55 info: MQTT: connected
21-12-05 11:08:55 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
21-12-05 11:15:58 info: Double Take v1.7.0-bf3e911
21-12-05 11:15:58 info: MQTT: connected
21-12-05 11:15:58 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
and that what I see in HA about the image_processing
this is the conf of image processing
image_processing:
- platform: deepstack_object
ip_address: 192.168.1.199
port: 80
save_file_folder: /config/www
save_file_format: jpg
always_save_latest_file: True
targets:
- target: person
confidence: 60
source:
- entity_id: camera.door_camera_2
- entity_id: camera.front
and this is the conf of frigate
cameras:
Door Camera:
ffmpeg:
inputs:
- path: rtsp://user:[email protected]:554/Streaming/Channels/101
roles:
- detect
- clips
objects:
track:
- person
snapshots:
enabled: true
timestamp: true
bounding_box: true
retain:
default: 2
Front:
ffmpeg:
inputs:
- path: rtsp://user:[email protected]:554/Streaming/Channels/101
roles:
- detect
- clips
objects:
track:
- person
snapshots:
enabled: true
timestamp: true
bounding_box: true
retain:
default: 2
detectors:
cpu1:
type: cpu
cpu2:
type: cpu
why its not working to me?