SIMD-accelerated computer vision on a $2 microcontroller

zdw 231 points 73 comments October 25, 2026
shraiwi.com · View on Hacker News

Discussion Highlights (12 comments)

pjmlp

> For its price, the ESP32-S3 is a powerhouse of a microcontroller. Indeed, don't forget it is more powerful than computers like this one, https://en.wikipedia.org/wiki/Amstrad_PC1512

peesem

nit: 5.1MP/s to 11.2MP/s is not an increase of 220%, it's an increase of 120%. it's 2.2x faster, but percentage increase starts at 0%, not 100%. 100% faster is double, 200% faster is triple.

paaloeye

ESP32-S3 SIMDs are super difficult to use unfortunately

jwr

BTW, I find it pretty amazing that you can buy complete ESP32-S3-Zero boards on AliExpress for $5.33. That's for a little board with the chip, a ceramic antenna, a USB connector and an LED. ESP32-C3-Zero are $2.80 each. These prices are absolutely ridiculous for what you get. Also, the ease of use of these boards is incredible. Just connect them via USB to your computer and off you go.

paaloeye

mitchellh's post about SIMD: https://mitchellh.com/writing/everyone-should-know-simd

varispeed

Why is it still called SIMD-accelerated, if these are now just normal instructions. You just have to take a little bit more effort into restructuring your algorithms to make use of them.

lukan

The engineering seems impressive, but how useful is the result? What can you detect exactly with it in real time? Detecting corners, but to what resolution/detail, a picture with a result would have been helpful to understand the capability. edit: missed this link, this is what this is about https://en.wikipedia.org/wiki/Features_from_accelerated_segm...

adolph

Interesting. Since this was implemented on the S3, which uses the ISA XTensa LX instead of the RISC-V of most newer ESP32 series chips, I looked into how Espressif is handling SIMD on the latter ISA. Apparently it is only present in limited fashion as a processor extension on the P4 and S31 [0]. The S31 datasheet claims SIMD [1] and the P4 datasheet [2] files them as "Processor Instruction Extensions." 0. https://bitbanksoftware.blogspot.com/2026/04/esp32-p4-simd-e... 1. https://documentation.espressif.com/esp32-s31_datasheet_en.p... 2. https://documentation.espressif.com/esp32-p4_technical_refer...

camel-cdr

The CH32V407/CH32V467 is a bit more expensive, was $2.4 per unit two month ago, but supports the embedded subset of the RISC-V vector extension. So you basically get a full AVX-512/SVE level SIMD ISA, minus FP support and with 64-bit SIMD width. But you still have LMUL, which will be great here to maximize utilization.

nl

Also worth noting that most (all?) ESP32s have dual cores. I recently implemented a beam-forming microphone with LLM transcription (offloaded to a browser model)[1] and was able to get all the beamforming and noise cancellation DSP code running on the second core along with the UI, while the and webserver that streams audio uses core 0. I don't use SIMD myself, but it uses esp-dsp which is already using it. [1] https://github.com/nlothian/earwing

ReptileMan

Expecting lots of traffic to this blog post from russian and ukrainan ip-s.

iqbal1980

This sounds interesting, Is there a way to port opencv code to this? I know there is a way to write opencv code to run on fpga but it would be nice if you can do it on low powered microcontrollers. Or did you write the algorithm from scratch by hand?

Semantic search powered by Rivestack pgvector
3,874 stories · 35,194 chunks indexed