question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: Masking out false alarm event recordings caused by light emitting from window & door

See original GitHub issue

Describe the problem you are having

False alarm event recordings due to windows lighting up from hallway, tried to mask out the area but my config doesn’t seem to work.

Version

2.3

Frigate config file

'''cameras:
  Driveway_Bottom:
    ffmpeg:
      input_args: -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1
      inputs:
        - path: rtsp://user:pass@192.168.1.15:554/Streaming/channels/202
          roles:
            - rtmp
            - detect
    detect:
      width: 640
      height: 480
      fps: 5
    objects:
      track:
        - person
        - car
        - dog
      filters:
        person:
          min_score: 0.5
          threshold: 0.65
          mask:
            - 640,0,640,229,564,206,448,133,0,126,0,0
        dog:
          min_score: 0.5
          threshold: 0.7
          mask:
            - 640,0,640,229,564,206,448,133,0,126,0,0
        car:
          min_score: 0.5
          threshold: 0.7
          mask:
            - 640,0,640,229,564,206,448,133,0,126,0,0
    motion:
      mask:
        - 640,0,640,229,564,206,448,133,0,126,0,0
    snapshots:
      enabled: True
      timestamp: False
      bounding_box: True
      crop: False
      retain:
        default: 3
'''

Relevant log output

N/A

FFprobe output from your camera

N/A

Frigate stats

N/A

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Network connection

Wired

Camera make and model

Hikvision

Any other information that may be helpful

I have posted my Camera config above but I am wondering if I have mis-interpreted how to configure the various sections properly. Reading through the Doc’s, it’s a little bit confusing whether certain sections should be grouped or segregated in their own right.

As you can see from the config, there is a mask entered in several times to try and make this area of the footage ignored (as this is where the window and door are that cause the event recording.

Below is a screenshot of the mask and an event recording showing the lit up window and door which is still happening despite this mask.

Screenshot 2022-01-05 at 10 47 39 Screenshot 2022-01-05 at 10 46 46

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
healeydavecommented, Jan 7, 2022

Thanks Mincka, I can see I missed the bottom of the door through the van window. I have just modified the mask to cut that out too and am about to test 👍

0reactions
healeydavecommented, Feb 6, 2022

Maybe you can close this issue?

Oppps, forgot, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Avoid False Alarms with Masking - DeskShare
There is an effective remedy in Security Monitor Pro. Using the “Masking” feature, you can tell the program to ignore different parts of...
Read more >
False Alarm Causes and Solutions
In this post, we share some of the most common false alarm causes, as well as steps that you can take to troubleshoot...
Read more >
GLASSTECH
The GlassTech is a revolutionary, microprocessor-controlled glass-break detector using original sound image recognition methods that differ from those used ...
Read more >
How your home security camera detects motion - TechHive
Here's everything you need to know to get the most out of this critical, but often frustrating feature.
Read more >
DualCurtain Outdoor User Manual - ADK Security
events are recorded in the notification feed of the Ajax app. ... you to set the detection zone precisely and avoid false alarms...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found