All the files you need for the Home-Assistant tensorflow component
MIT License
All the files you need for the Home-Assistant tensorflow component.
Just git clone
this repo, then copy the tensorflow
folder into your configuration directory.
FYI utils has the function that maps the integers returned by the model to the actual category, data has the actual mappings, and proto is how tensorflow object detection tensor gets the data.
To install tensorflow, you need to have permissions of the homeassistant
user and activate the python venv that HA uses.
sudo -u homeassistant -H -s
cd /srv/homeassistant/
then source bin/activate
pip3 install tensorflow==1.13.2