From 53e8ba38047c2bec623dfd54d5abd7f72d113c6c Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 20 May 2021 17:38:04 +0200 Subject: [PATCH] Add note about TensorFlow only available on Core (#17907) --- source/_integrations/tensorflow.markdown | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/source/_integrations/tensorflow.markdown b/source/_integrations/tensorflow.markdown index 9837b7686aa..6e4e9b5a780 100644 --- a/source/_integrations/tensorflow.markdown +++ b/source/_integrations/tensorflow.markdown @@ -8,11 +8,16 @@ ha_release: 0.82 ha_domain: tensorflow --- -The `tensorflow` image processing platform allows you to detect and recognize objects in a camera image using [TensorFlow](https://www.tensorflow.org/). The state of the entity is the number of objects detected, and recognized objects are listed in the `summary` attribute along with quantity. The `matches` attribute provides the confidence `score` for recognition and the bounding `box` of the object for each detection category. +The TensorFlow image processing platform allows you to detect and recognize objects in a camera image using [TensorFlow](https://www.tensorflow.org/). The state of the entity is the number of objects detected, and recognized objects are listed in the `summary` attribute along with quantity. The `matches` attribute provides the confidence `score` for recognition and the bounding `box` of the object for each detection category. -{% details "Notes for Home Assistant Core Installations" %} +
+This integration is only available on Home Assistant Core installation types. Unfortunately, it cannot be used with Home Assistant OS, Supervised or Container. +
+ +## Prerequisites The following packages must be installed on Debian before following the setup for the integration to work: + `sudo apt-get install libatlas-base-dev libopenjp2-7 libtiff5` It is possible that Home Assistant is unable to install the Python TensorFlow bindings. If that is the case, @@ -24,8 +29,6 @@ See [the official install guide](https://www.tensorflow.org/install/) for other Furthermore, the official Python TensorFlow wheels by Google, require your CPU to support the `avx` extension. If your CPU lacks those capabilities, Home Assistant will crash when using TensorFlow, without any message. -{% enddetails %} - ## Preparation This integration requires files to be downloaded, compiled on your computer, and added to the Home Assistant configuration directory. These steps can be performed by cloning [this repository](https://github.com/hunterjm/hass-tensorflow) into your configuration directory. Alternatively, if you wish to perform the process manually, the process is as follows: