[Config Support]: Getting error, "Polygon drawing must be finished before saving." when trying to add objects to Mask while polygons are closed #21059
-
Describe the problem you are havingI see that my Zone has 11 points and a check showing it is closed and my Mask has 8 points and it has a check mark and closed but when I try to add All Objects to Mask it give me error, "Polygon drawing must be finished before saving.". Why is that? Version0.16-2 Frigate config fileNARelevant Frigate log outputNARelevant go2rtc log outputNAFrigate statsNAOperating systemDebian Install methodDocker Compose docker-compose file or Docker CLI commandNAObject DetectorCoral Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Based on the documentation, when creating masks in Frigate's web UI, you need to click the first point again to close the polygon(1). The error message "Polygon drawing must be finished before saving" typically indicates that the polygon isn't properly closed, even if the UI shows a checkmark. To properly create a mask(1):
The key step is ensuring you click the first point again to properly close the polygon before attempting to save(1). If you're still experiencing issues after following these steps, try:
Once saved successfully, your config file will be updated with the relative coordinates of the mask(1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
You may be misunderstanding how object masks work. Object masks are separate from motion masks and zones. In your screenshot, it looks like you are creating an object mask, but you haven't drawn anything on the canvas. See the documentation: https://docs.frigate.video/configuration/masks/ |
Beta Was this translation helpful? Give feedback.
-
|
For anyone else struggling with this, if you're using Brave browser, you need to turn off shields. #12724 Item 14. |
Beta Was this translation helpful? Give feedback.
You may be misunderstanding how object masks work. Object masks are separate from motion masks and zones. In your screenshot, it looks like you are creating an object mask, but you haven't drawn anything on the canvas.
See the documentation: https://docs.frigate.video/configuration/masks/