[0.8.0-rc4] Mask editor area not sized properly to camera image
See original GitHub issueDescribe the bug It looks like there is some error in recalculation of the image size on the screen and the mask editor coordinates. It is not possible to strech the area over full image size. The generated coordinates of the mask (for config file) match the image, but what is shown in the editor doesn’t fit the whole image.
Checked the Developer Tools, the <svg>
tag fits the whole image, but it looks like the calculated constrains of how far the mask can be stretched are not calculated properly to the size of the image on the screen. (more in screenshots)
Version of frigate 0.8.0-rc4
Config
cameras:
frontyard:
ffmpeg:
inputs:
- path: rtsp://u:p@10.10.3.243/third
roles:
- detect
- clips
height: 1080
width: 1920
fps: 5
rtmp:
enabled: False
clips:
enabled: True
pre_capture: 3
post_capture: 3
snapshots:
enabled: True
timestamp: True
bounding_box: True
height: 1080
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 400
motion:
mask: 966,63,969,3,1912,8,1919,236,1756,195,1531,141,1324,95,1166,71
zones:
driveway:
coordinates: 6,1072,18,451,147,365,528,307,835,292,1154,288,1495,293,1848,363,1897,456,1902,529,1916,722,1897,919,1895,1055,1297,1066,523,1066
outside_road:
coordinates: 4,363,8,239,13,124,160,112,428,86,688,58,893,66,1105,78,1241,119,1327,195,1268,258,1034,297,727,298,447,297,276,317
objects:
track:
- person
Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Mask Editor Overview - MATLAB & Simulink - MathWorks
Create and customize masks using the Mask Editor interface. ... Image. Image displayed in the mask dialog box. Text Area. Add a custom...
Read more >Masking in Camera Raw - YouTube
Discover the power of masking in Adobe Camera Raw with Adobe Evangelist Julieanne Kost. Get Photoshop CC: http://adobe.ly/10ekpOAFollow ...
Read more >Apply Masking for local adjustments in Camera Raw
These tools help you make precise color or luminance range adjustments and edit specific areas in a photo with maximum creative control.
Read more >mask-size - CSS: Cascading Style Sheets - MDN Web Docs
The mask-size CSS property specifies the sizes of the mask images. The size of the image can be fully or partially constrained in...
Read more >Edit Mask - Cognex VisionPro ViDi Help
The Mask toolbar is launched by right-clicking in an image, and selecting Edit Mask from the ... The size of the area drawn...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should be resolved in RC6
Thanks for looking into this @InToSSH. I think adding a ResizeObserver to the image would solve both this issue as well as the case where someone resizes the browser. I can look into it tomorrow.