Hello, I’m pulling my hear out with templating so any assistance greatly appreciated!
I’m trying to grab the values from an image processing scan using deepstack to pull out all the predictions that were found in a scan so i can create a sensor for each prediction to count the number of people found and in this case number of birds found:
The closest I can get is:
{% if states.image_processing.person_detection %}
{{ state_attr('image_processing.person_detection', 'all_predictions') }}
{% else %}
??
{% endif %}
which simply tells me "person": 1, "bird": 1
.
Thanks