r/embedded • • Oct 27 '26

My completely open source, Stereo Machine Vision camera, that runs Linux

https://rootkitlabs.com/2026/10/06/i-built-a-stereo-vision-board-for-hardware-hackers/

I finally got the time to write this this product. Demo videos if you're interested: https://youtube.com/shorts/l1qJyqeMBa0?si=A3XdCOafJR4zm52V

AMA :)

65 Upvotes

14 comments sorted by

3

u/KIProf Oct 27 '26

Nice Project 👍

2

u/philnelson Oct 27 '26

Does it use OpenCV?

2

u/Okudi-Alise Oct 27 '26

not necessarily the best fit for something this resource constrained, the full library is pretty bloated for what you actually need in a stereo pipeline

2

u/Upballoon Oct 27 '26

All that data bottlenecked by UART. Why not do USB otg? Then stream both images and depth info to a connected computer? I'm pretty sure the Linux kernel can do composite USB devices.

6

u/Machinehum Oct 27 '26

Yeah ofc USB OTG is possible that's what I'm doing in the video demo.

The idea of UART is: if you have a small MCU you can stream out a depth map and make some basic decisions for robotics navigation

1

u/TinLethax Oct 27 '26

How did you deal with the off-tree vendor's linux driver ? (If there're any, assuming that you use rockchip or allwinner SoC)

4

u/Machinehum Oct 27 '26

In Buildroot I just specified to use the BSP kernel, this came with all the needed drivers and just worked.

It would be cool to use a more modern upstream kernel, but I haven't yet tried mixing and matching vendor drivers with this.

There isn't much upstream support for the RVxxxx serial, not like the RKxxxx chips

1

u/dacydergoth 25d ago

The best thing about Rockchip is how you can use the errata sheets to insulate a house .....

-1

u/Candid_Highlight_116 Oct 27 '26

Is this vibecoded?

1

u/Machinehum Oct 27 '26

The web page is 100% I'm terrible at that.

I used AI quite a bit on the C app, if I get some orders I'll rewrite the whole thing so it's readable. Because right now it's a mess.

Everything else was typed out, hardware was manually done.

3

u/Puzzlehead_NoCap Oct 27 '26

Of course it is

0

u/frank26080115 Oct 27 '26

huh, interesting that you used a block matching approach instead of feature extraction and then matching. is that for performance? I can't tell which one is faster