geftactics

Results 13 comments of geftactics

I did think about polygons etc to build a more complex zone, but as you suggested would make configuration complex and hard to setup/test/debug. If we allowed multiple ROI boxes,...

I did try and do it against the actual codebase, but couldn't quite fathom it... Here's a basic example in isolation to show the concept working though... ``` from PIL...

Transparent PNG file - Can use any image editor, gimp, photoshop, etc... I'm sure most people with the level of technical ability to be running home assistant with custom addons,...

Ah, that is a good point - I might have a look at how we can specify polygon coordinates then

Building a polygon and then using [shapely](https://pypi.org/project/Shapely/) to test for presence of a point with the polygon is fairly effortless... Here I build a simple 4 point polygon for my...

I think many do, but just not in YAML formatted this way... Not sure if it helps, but my code above will also work with YAML of the following format:...

I thought about the options above a bit more, and have one more idea to throw into the mix... - We use a mask image as per example above, but...

We do need to be able to allow the user to reference the colour they have used in the YAML. For example, we can't always just rely only black, as...

If you are open to the masking idea - maybe the method posted above on 12th Feb will yield the most accurate results when objects are cropped by the mask