Live data from Hacker News

AI model on a $3 chip (ESP32)

maxlab.io

21–30 of 33 posts

Re: AI model on a $3 chip (ESP32)

#21

Nice job, though a smaller PCB would've been more practical? The ESP32-CAM is definitely a bit tricky to work with software-wise. I'm not sure how much sense it actually makes to run anything onboard unless you want to take a snapshot every few seconds and then spending a while classifying it. I've eventually just resorted to streaming at SVGA and decent framerates and then processing the output on another machine.

It makes sense if you can’t connect to another device, for example a sensor in a remote location.

Re: AI model on a $3 chip (ESP32)

#23
post #21

Nice job, though a smaller PCB would've been more practical? The ESP32-CAM is definitely a bit tricky to work with software-wise. I'm not sure how much sense it actually makes to run anything onboard unless you want to take a snapshot every few seconds and then spending a while classifying it. I've eventually just resorted to streaming at SVGA and decent framerates and then processing the output on another machine.

It makes sense if you can’t connect to another device, for example a sensor in a remote location.

But if you take the internet out of IoT it's just things.

Re: AI model on a $3 chip (ESP32)

#24
post #22

Not unrelated, this is quite an amazing device - even before you consider its $9.95 price at Sparkfun. https://usefulsensors.com/person-sensor/ https://usefulsensors.com/about/

~$10 shipped at aliexpress: https://www.aliexpress.us/item/3256804457160611.html (maybe this one)

Re: AI model on a $3 chip (ESP32)

#25
post #24
post #22

Not unrelated, this is quite an amazing device - even before you consider its $9.95 price at Sparkfun. https://usefulsensors.com/person-sensor/ https://usefulsensors.com/about/

~$10 shipped at aliexpress: https://www.aliexpress.us/item/3256804457160611.html (maybe this one)

Looks like you've found a different device there.

Re: AI model on a $3 chip (ESP32)

#27
If you want to use it for video, I'd wait until the ESP32-P4 releases.

You could do some rudimentary AI on the ESP32-S3, but you can't send video at a decent rate. The P4 will have H.264 encoding, MIPI connectors, and a 400mhz dual-core.

MJPEG isn't a great way to stream video, and the AI has to be super small to fit into SRAM. You could use flash over SPI, but that's not the greatest.

You can get some decent results, but not for anything I thought was interesting for actual use.

Re: AI model on a $3 chip (ESP32)

#28
post #16

Semi-related: $80 board from Google: https://blog.tensorflow.org/2023/02/tensorflow-lite-micro-wi...

If you can get them... I've tried to get one for over a year. You're probably better off getting a Jetson Nano.
Post reply on HN