Skip to content

Configuration question/issues #927

Open
@stonehencs

Description

@stonehencs

Hello!

I would like to ask if it is possible to do a separate motion detection and if motion is detected then run the object detector if it finds an object on it then save the recording?

But I would like it so that if it finds any object, I don't necessarily want to specify all acceptable objects, because anything can happen.

And could you please help me with this that I turned on "draw_motion" but it doesn't do anything. I set it as in the example config.

Thanks in advance!

My config:

 
ffmpeg:
  camera:
    camera_1:
      name: vigi_kamera_1
      host: !secret camera1_ip
      port: 554
      path: !secret camera1_path1
      username: !secret camera1_user
      password: !secret camera1_pswd
      fps: 25
      width: 2304
      height: 1296
      stream_format: rtsp
      mjpeg_streams:
        my_stream:
          width: 704
          height: 576
          draw_objects: true
        objects:
          draw_objects: true
          draw_zones: true
          draw_motion: true
          draw_motion_mask: true
          draw_object_mask: true
      substream:
        path: !secret camera1_path2
        port: 554
        stream_format: rtsp
        fps: 15
        width: 704
        height: 576
      recorder:
        lookback: 15 #esemény elött
        idle_timeout: 15 #esemény utan
        retain: 30  #meddig tarol nap


mog2:
  motion_detector:
    cameras:
      camera_1:
        recorder_keepalive: true
        #threshold: 8
        fps: 10
        #area: 0.009
        #history: 200
        #detect_shadows: true
        trigger_recorder: true
        width: 704
        height: 576

nvr:
  camera_1:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions