logoalt Hacker News

SIMD-accelerated computer vision on a $2 microcontroller

202 points • by zdw • last Sunday at 10:29 PM • 59 comments • view on HN

Comments

jwr • yesterday at 5:16 PM

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.

➕ show 3 replies
nl • today at 6:38 AM

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

pjmlp • yesterday at 3:43 PM

> 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

➕ show 4 replies
peesem • yesterday at 3:48 PM

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.

➕ show 2 replies
camel-cdr • yesterday at 7:43 PM

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.

lukan • yesterday at 6:50 PM

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...

paaloeye • yesterday at 4:11 PM

ESP32-S3 SIMDs are super difficult to use unfortunately

➕ show 3 replies
adolph • yesterday at 6:59 PM

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...

➕ show 1 reply
robrogers-assis • yesterday at 9:55 PM

[flagged]

varispeed • yesterday at 6:14 PM

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.

➕ show 1 reply