vhliboptimal

History & Evolution

The vhliboptimal library has deep roots in real-world embedded computer vision, evolving from extreme hardware constraints to modern software efficiency.

2006 — The Extreme Embedded Roots (AVR + External SRAM)

The algorithm originated as a raster-to-vector engine for 8-bit AVR microcontrollers, initially tasked with recognizing character contours and geometric shapes on tiny 128x64 B&W displays. To handle image processing under severe memory constraints, the system utilized 32KB of external SRAM accessed via a multiplexed bus (74HC573 + ALE). The core engineering challenge was overcoming the performance bottleneck of this external memory bus.

2010 … 2012 — Road Signs Recognition

The grid-based BitField architecture was specifically designed during this period to minimize external bus accesses, keeping the heavy pathfinding logic strictly within the MCU’s fast internal RAM. It was successfully tested on LPC2148 and AT91SAM7X256 platforms.

2016 — Hardware-Accelerated Era (FPGA + STM32)

As tasks grew more complex, the algorithm was scaled and integrated into a dual-camera stereo vision system based on a Xilinx Spartan-6 FPGA + SDRAM, paired with an STM32F7 microcontroller.

2026 — Modern C++ Rewrite for SBCs

The library has been completely redesigned and rewritten from the ground up in modern C++17.

It preserves the original philosophy of extreme efficiency born on 8-bit microcontrollers nearly 20 years ago, now running efficiently on general-purpose CPUs with AVX2 optimizations where available.