Closed simondsmason closed 7 months ago
Did you make the mask on the non-substream and then switch to using the substream? The mask needs to be created for the stream that will be used for detect. If you adjust resolution of this stream for any reason, the mask will need adjustment
I reported this a while ago and Nick said that they were going to make zone points relative to the camera view rather than hard coordinates in a later release. Until then, if you change the size of your detect feed, you'll want to comment out, or remove your existing zones.
I haven’t changed the config. But it gets weirder. I redid the masks and zones on the reduced image size. I restarted frigate and this time when I went into the mask and zone creator it now shows the full size image again. And the masks and zones are correct.
If it were me, I would hardcode the detect resolution to the resolution of the substream. Your back garden camera is using the substream so it should be "the smaller" image probably, and the mask should be made/updated once this is done. What is the resolution of your substream?
Maybe the auto-detecting of the resolution is not working well/deterministically with your stream source, not sure really
closing this as a duplicate of https://github.com/blakeblackshear/frigate/issues/6309 as that is what will fix it
@xconverge is correct, I would definitely recommend manually setting detect resolution
I think I am having a similar issue to this one (https://github.com/blakeblackshear/frigate/discussions/9844). This started a few weeks ago - I originally noticed because my HASS notifications were not firing anymore. During this time period I did have to do quite a bit of work on my unraid as a cache drive failed but I am fully backed up so the config did (should) not have changed.
What is most noticeable is that before when I went into the Mask and Zone creator the image used to be twice the size. And the mask as it appears in the examples below was within the image boundaries. Now the image has shrunk. I have not tried re-saving the motion masks etc. since this happened. First I wanted to see what was going on before I did that. Thanks.
Here are some examples.
Config:
Originally posted by @simondsmason in https://github.com/blakeblackshear/frigate/discussions/9844#discussioncomment-8700208