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.

Polygons and Best.jpg images are not working

See original GitHub issue

Describe the bug When I add a polygon to the zone of the camera entity, they are not followed and I have detections even outside these polygons.

Config file

zones:
  front_steps:
    coordinates: 1149,183,4,763,4,1078,1919,1078,1914,448,1588,363,1419,327,1156,276,1147,207

Another question is that the best.jpg file is not created. I’ve enabled the settings snapshots like this

snapshots:
  show_timestamp: True
  draw_zones: False
  draw_bounding_boxes: True

And also the main configuration for the paths

save_clips:
  clips_dir: /home/coral/video
  cache_dir: /home/coral/cache

What else do I miss?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
blakeblackshearcommented, Oct 23, 2020

I fixed the config he posted on the issue. Also, zones do not prevent objects from being detected outside of the zones. They only create a sensor to tell you when an object enters the zone.

0reactions
blakeblackshearcommented, Oct 24, 2020

I think your issue is a result of https://github.com/blakeblackshear/frigate/issues/261#issuecomment-715986761

Please give that image a try and dont forget to set your shm_size appropriately.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SVG polygon fill with image not working - Stack Overflow
Your actual live code is lacking width and height attributes on the <image> elements. In SVG 1.1 these default (rather unhelpfully) to 0....
Read more >
Raster to Polygon NOT WORKING - Esri Community
We can not get the raster to polygon tool working. I have tried using .ecw, jpg, .tiff, .GeoTif nothing works. I have left...
Read more >
Re: Polygon tool not working at all! - Adobe Support Community
I see the icon on the image, but clicking the mouse does not create a line. The tool is unresponsive everywhere on the...
Read more >
QGIS 2.14.3: I'm having problems when exporting my map to jpg
and I have no problems exporting to image, but the final jpg. (or pdf) file, just shows a half of the polygons layers...
Read more >
Formatting your images for display on the web
Accented letters, question marks, percent signs, and ampersands may not upload or could cause unexpected issues. Image width, 2500 pixels width ...
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