Home Assistant with Object Detection Service with Tensorflow + Doods using Oracle Cloud

Опубликовано: 04 Октябрь 2024
на канале: Sauber-Lab UK
1,869
23

In this video we are going to add an object and people detection service to our Home Assistant with Tensorflow + Doods. In this way you can start building objects of style and people that make your home even smarter.
This time, we will use Oracle Cloud servers to do all our analysis and identify the objects that our camera recognizes.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
To install Docker on our Oracle cloud, we will use the following command:

Update your operating system with the following two commands:
sudo apt-get update && sudo apt-get upgrade

#Official Docker installation script:
curl -fsSL https://get.docker.com -o get-docker.sh

#start the script
sudo sh get-docker.sh

To install Portainer, we will first create our volume:
sudo docker volume create portainer

To install our Portainer, we will use the following command:
sudo docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer:/data portainer/portainer-ce:latest -H unix:///var/run/docker.sock

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The image we used was as follows:
https://github.com/snowzach/doods2

Needing more information about installation, check out this integration:
https://www.home-assistant.io/integra...

The following command was used:

tensorflow and doods
image processing:
platform: doods
URL: http://192.168.1.253:8383
detector: default
scan_interval: 1
source:
entity_id: camera
file_out: /config/www/sauberlab.jpg
confidence: 60
labels:
name: person
confidence: 70
name: car
confidence: 50

Camera:
platform: generic
name: doods_cam
still_image_url: http://192.168.1.252:8123/local/Sauberlab.jpg


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Leave your comment and share with your network. It's always good to know what needs improvement.

Don't forget to subscribe to the channel to receive tips and help.

For all notifications, tap the bell icon. It will change to a ringing bell to indicate that you have received all notifications.