How did you limit it btw? It did not really listen to my limit options. I am now playing with:
value_template: >
{% if states.image_processing.tensorflow_voordeur_live.attributes.matches.car %}
{% for cars in states.image_processing.tensorflow_voordeur_live.attributes.matches.car %}
{% if cars.box[2] - cars.box[0] * cars.box[3] - cars.box[1]|float >= "0.65"|float %}
True
{% endif %}
{% endfor %}
{% endif %}
Never played that much with templating but now i get like a number that is the size of the box. If its on your drive way the car is always way bigger then the rest. In your case it might still fail if a giant truck comes by (but you managed to remove that part)
Yes, I figured. I can see the memory go away in the terminal before it crashes. But why?
Did you actually get it to work on a Raspberry Pi or was it an assumption that it should work? I am running a fresh install of Rassbian on a Raspberry Pi 3B+ with nothing else installed on it.
Do you think I am doing something wrong? I followed your guide, what can I have missed that leads to this? Would really appreciate some help… Thanks!
Yes, its on a pi 3B+. Admittedly this is a development HA instance with no other components configured yet, but I wouldn’t expect that to make much of a difference, but maybe I’m wrong… Im assuming you are using Hasspbian?
Yes you should definitely experiment with different models. I will be happy to add info on performance of different models to the Hackster article, that would be useful
I’m running Hassio on Raspberry Pi 3B+. It’s already using 20-30% CPU on idle, 60% RAM, temps about 55C.
What would be the impact if I move to Hassbian and get Tensorflow running? I only have one camera. Is the performance still good? Or should I think about upgrading before trying Tensorflow?
Would it be possible to run Tensorflow on a micro instance in AWS or Azure? Would the communication still be a huge impact on my Pi?
Thought so, but since I got into HA a few months ago I can’t wait to try or add more stuff as you can see, even trying to do some cool stuff just because it’s interesting and Tensor flow is interesting and could be very useful for my automations. I was thinking on moving part of my smart home stuff to public cloud services like DB, websites and a VM (company offers me some usage for free).
Yes in my opinion a pi simply lacks the resources for intensive applications like object detection at a fast rate. You might be interested in Sighthound
I understand. What would be the “next level” in terms of hardware if one would like to run Tensorflow without issues? I mean in comparison to a Raspberry Pi, what do you need to run it without problems (but not buying an expensive desktop computer)?