robmarkcole / HASS-Deepstack-object

Home Assistant custom component for using Deepstack object detection
https://community.home-assistant.io/t/face-and-person-detection-with-deepstack-local-and-free/92041
MIT License
438 stars 98 forks source link

Implement or import pure python ray casting algorithm/point in polygon #229

Closed robmarkcole closed 3 years ago

robmarkcole commented 3 years ago

Prerequisite for https://github.com/robmarkcole/HASS-Deepstack-object/issues/184

Some options in https://gis.stackexchange.com/questions/7157/pure-python-library-for-geometry-operations

robmarkcole commented 3 years ago

Try https://docs.sympy.org/latest/modules/geometry/polygons.html

This has required functionality and doesn't create any issue with dependencies or install

robmarkcole commented 3 years ago

Too complex, use mask approach instead