Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marking as Detected over MQTT for any person match #1747

Closed
keatontaylor opened this issue Sep 9, 2021 · 1 comment
Closed

Marking as Detected over MQTT for any person match #1747

keatontaylor opened this issue Sep 9, 2021 · 1 comment

Comments

@keatontaylor
Copy link

Describe the bug
I've been toying with this for a few days and cannot figure out if this is intended behavior or not.

I've currently got frigate setup to do person detection from a camera placed in the common area of my apartment. The goal is to use the camera feed to detect if a person is in the room and use the detections to keep the lights on.

However, once the person has been still for a few minutes frigate will send an MQTT message that the camera is clear, even if the person is technically still being tracked when viewing the frigate Web UI.

My guess is that while still (see adjustments to motion detection) that there isn't sufficient movement of the tracked object so it marks as clear.

My goal is to ensure that even someone sitting still is detected as shown in the preview. Sure this might produce some false positives about where the person actually is in the view, but traditional PIR sensors are used to turn the lights off. The tracking in frigate is just used to keep the lights on if a person is detected.

I hope all this makes sense and I understand if it is way outside the scope of the standard use case but figured I would make an attempt to ask if my idea is possible.

Version of frigate
0.8.4-5043040

Config file
Include your full config file wrapped in triple back ticks.

mqtt:
  host: 10.0.1.27
cameras:
  back:
    ffmpeg:
      inputs:
        - path: rtsp://<camera_ip>/live
          roles:
            - detect
    width: 1920
    height: 1080
    fps: 5

detectors:
  cpu1:
    type: cpu
  cpu2:
    type: cpu
    
objects:
  # Optional: list of objects to track from labelmap.txt (default: shown below)
  track:
    - person
    - cat
@blakeblackshear
Copy link
Owner

Duplicate of #841

@blakeblackshear blakeblackshear marked this as a duplicate of #841 Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants