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.

`min_person_area` doesn't seem to be filtering objects

See original GitHub issue

Right now I have a camera set up that streams in 1080p. Because of that, I knew I would need to raise the min_person_area to account for the extra pixels. Below is one of the debug frames that I capture when an MQTT message is sent for a person being detected.

image

I’m using a min_person_area of 3000, so it doesn’t seem like a person in the image across the street below has enough pixels to meet that criteria.

Is there a chance the MQTT person message is being sent without taking into account the min_person_area, or am I off by an order of magnitude with my values?

Below is my config.

web_port: 5000

mqtt:
  host: mqtt
  port: 8883
  topic_prefix: frigate
  user: <user>
  password: <password>

cameras:
  front_window:
    rtsp:
      user: <username>
      host: <ip_address>
      port: <port>
      password: <password>
      path: <path>
    regions:
      - size: 700
        x_offset: 1220
        y_offset: 200
        min_person_area: 3000
        threshold: 0.9
      - size: 1080
        x_offset: 0
        y_offset: 0
        min_person_area: 3000
        threshold: 0.9

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
blakeblackshearcommented, Jun 20, 2019

I do have min person area defined for all regions on my cameras. And yes, if it wasn’t defined, it would skip the continue and add all detected person objects.

0reactions
aav7flcommented, Jul 2, 2019

I’m closing this. After getting the viewbox with the area size figured it, it was definitely the case that they were way larger than I thought.

Merge this PR if you’d like them added. https://github.com/blakeblackshear/frigate/pull/47

Read more comments on GitHub >

github_iconTop Results From Across the Web

filtering an object-array with filter doesn't work for some reason
Change filteredTodo = todos.filter(function(todo){ return !filters.hideCompleted || !todo.completed; }).
Read more >
Azure AD Connect sync: Configure filtering - Microsoft Entra
By using filtering, you can control which objects appear in Azure Active Directory (Azure AD) from your on-premises directory.
Read more >
Filtering and gathering results from accepted/rejects varaibles.
For metrics, it doesn't seem reasonable to be creating a bunch of filters anyway. All my metrics script just open the module, go...
Read more >
Filter and Grouping considerations for Custom WITH or ...
Filtering the Primary Object will return the records of the Primary Object ... Child Object records will appear in the grouping value on...
Read more >
Filtered List View settings - IBM
You can globally configure the following Filtered List View page settings. ... appears empty after you load the filter: the % character does...
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