Latest stories
Story · 1 report
SIMD-accelerated computer vision on a $2 microcontroller
A SIMD-accelerated implementation of the FAST feature detector runs on Espressif’s ESP32-S3 microcontroller, using the chip’s 128-bit vector instructions to process 16 eight-bit pixels per vector register. The implementation processes a 320×240 QVGA frame in about 6 ms and increased measured throughput from 5.1 megapixels per second to 11.2 megapixels per second, a roughly 220% improvement over the reference implementation. The stated performance is sufficient to process a 30-frame-per-second VGA stream. The ESP32-S3 has a dual-core CPU clocked up to 240 MHz, Wi-Fi and Bluetooth Low Energy radios, and a limited SIMD instruction set. FAST identifies image features by comparing pixels around a center pixel; its pre-test samples pixels in the cardinal directions and looks for at least three whose intensity differs from the center by more than a threshold. The implementation handles the ISA’s lack of direct misaligned reads by extracting slices from adjacent vector registers. It also compensates for signed-only eight-bit SIMD comparisons and saturating arithmetic by XORing each unsigned pixel value with 0x80, mapping the 0–255 range into the signed −128–127 range without subtraction.
shraiwi.com
🔥🔥🔥🔥🔥1 min summary
10/25/2026
No more articles to load
