core/homeassistant/components/opencv
Luke Pomfrey 5827a26dfc
Fix handling of min_size argument in OpenCV component (#36335)
The OpenCV image_processing component accepts a `min_size` argument in
each classifier that is then passed into the OpenCV library. The
`min_size` argument is expected to be a tuple of 2 ints, and is entered
into the platofrm schema as such. However, yaml will always produce a
list instead of a tuple, which means in practice it's impossible to use
the `min_size` argument. This changes the schema to accepts any sequence
of 2 ints that is then coerced into a tuple suitable for passing to the
OpenCV library.
2020-06-01 14:15:01 +02:00
..
__init__.py
image_processing.py Fix handling of min_size argument in OpenCV component (#36335) 2020-06-01 14:15:01 +02:00
manifest.json Upgrade numpy to 1.18.4 (#35150) 2020-05-03 23:50:13 +02:00