Hello,
I’m new to homeassistant .
I installed tensorflow image processing on Home Assistant 0.103.6 os=Ubuntu 18.04.
It s working great.
The question i have is how to create a swtich to enable or disable image_processing on my camera.
As suggested in docs i added this in configuration.yaml
I just want to be able to enable or disable it via a button in dashboard.
image_processing:
- platform: tensorflow
scan_interval: 10
source:
- entity_id: camera.camera_1
file_out:
- "/var/www/html/last0/{{ camera_entity.split('.')[1] }}_latest.jpg"
- "/var/www/html/all_pictures/{{ camera_entity.split('.')[1] }}_{{ now().strftime('%d%m%y_%H_%M_%S') }}.jpg"
#- "/home/homeassistant/lastone{{ camera_entity.split('.')[1] }}_latest.jpg"
model:
graph: /home/homeassistant/.homeassistant/tensorflow/ssd_mobilenet_v2_coco_2018_03_29/frozen_inference_graph.pb
categories:
- person
- car
- truck
Thanks in advance for your help.