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.

[Config Support]: Configuration question

See original GitHub issue

Describe the problem you are having

Hey!

After some tweaking related to me issue #4354, I found that it’s possible to add the same parameters in many places. Especially, what is the difference between placing like this:

cameras:
  camera_1:
  ....
    objects:
      track:
        - car
        - person
      filters:
        car:
          min_score: 0.5
          threshold: 0.5
          mask:
            - 0,0,1920,0,1920,703,306,540,146,719,0,707

instead of this:

cameras:
  camera_1:
  ....
    zones:
      parking_space:
  ....
        objects:
          - car
        filters:
          car:
            min_score: 0.5
            threshold: 0.5
            mask:
              - 0,0,1920,0,1920,703,306,540,146,719,0,707

According to the doc, it’s a zone level object filters but I’m not sure I understand. Does it mean that in the first case the whole image is scanned even with the mask and in the second only the part of the zone is scanned? Same for the threshold.

Thanks!

Version

0.11.1-2eada21

Frigate config file

N/A

Relevant log output

N/A

Frigate stats

N/A

Operating system

Debian

Install method

HassOS Addon

Coral version

USB

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
NickM-27commented, Nov 16, 2022

Going to go ahead and close this issue, feel free to create another issue if something else comes up

1reaction
NickM-27commented, Nov 16, 2022

They’re slightly different so I’ll address both separately:

objects

The objects you define in

objects:
  track:
    - this
    - list

are what are tracked by the camera.

Zones are meant to limit the events to objects that are of interest. You can list tracked objects for a zone to limit which objects are considered apart of that zone. For example you may want to track person, dog, cat in your yard and then track car in your driveway. Or you may not want to know about people in the street but do want to know about vehicles in the street.

PLEASE NOTE: Any objects that are not in objects -> track will not be tracked. If you put car in the zone level tracking and it is not in the object -> track list then cars will not be tracked anywhere. In 0.12 this will result in a config error.

filters

You can set a global filter which will apply to all objects that are detected, but you can also apply it to just a zone. A practical example of this that I used to use is I wanted to be notified of car in my driveway. I also wanted to know if the UPS / Fedex truck drove by, but of course if I added a min_area filter globally then the normal car in my driveway would be ignored. So I simply have car tracked everywhere but then create a street zone with a min_area of 40000 so the car is only considered apart of the street zone if it is that big.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure Questions - Liaison International
Question Sets can be used to group questions together in a specific category (e.g., “Research Interests,” “Graduate Assistantship Questions,” ...
Read more >
Frequently Asked Questions - AWS Config
How are the AWS Config managed rules affected? What is the exact impact for custom AWS Config rules that use configuration trigger for...
Read more >
Amazon | System Design | A configuration management system
We want to design a system to persist configurations that can be used by other systems. Configurations will be managed through an internal...
Read more >
Control Center application configuration - question configuration
Please do not hesitate to reach out to your Common App Service and Support Representative with any questions related to the addition, deletion ......
Read more >
Frequently Asked Questions on Configuration of Single Sign ...
Question 6: Can single instance of OAM be used to configure SSO for multiple JAS instances? Question 7: Does EnterpriseOne support Microsoft ...
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