by StereoPi

An open source stereoscopic camera based on Raspberry Pi

View all updates Feb 10, 2020

C++ and Python Performance Comparison and Compute Module Kitting Issues

by Eugene Pomazov

Compute Module eMMC and Lite kitting issues

We use Compute Module 3+ Lite in our Starter and Deluxe kits. But some of kits owners faced a problem - their StereoPi was not able to boot with installed micro SD. After digging out we found, that actually these users received kits with 8 GB eMMC equipped Compute Modules, but not Lite editions. Actually, these Compute Modules a bit more expensive then Lite. But they are unable to work with micro SD cards, as we described at the beginning of this video:

After detailed situation analysis and discussion with our kitting partner, we were able to find a reason of this wrong kitting. Looks like within a hundreds of Compute Modules 3+ Lite, used for assembling a kits, one wrong box with eMMC equipped CM3+ has been used. So we can expect about 30 non-Lite Compute Modules in our previous batch (1200 pcs).

If you’re one of these users, who got eMMC revision - you may use it as shown in a video mentioned. But if you definitely need Lite version - please contact us, and we’ll do CM3+ replacement for you!

Python vs C++: who is better for OpenCV beginners

Python vs C++: performance comparison

In most of our tutorials we use Python language. You often hear that Python is too slow for computer vision, especially when it comes to single-board computers like Raspberry Pi. In this article, we decided to measure the actual speed difference and find the performance ‘bottleneck’. The approach is very simple. We have a series of small Python programs that allow you to go through all the stages from the first launch of the stereo camera and its calibration to building a depth map from real-time video (and a 2D space map in a mode that emulates the operation of a 2D lidar). We ported all this code to C++, and we compare performance at each stage. You can read full article here in our blog.

One more notice

We’re in a process of moving all articles from our blog on Medium to our own site. So you can find all articles and news in a one place here: If you find some issues with our new blog - please don’t hesitate to inform us on our forum.

About the Author

Eugene Pomazov

StereoPi  ·  Realizator  ·   St. Petersburg

$164,339 raised

of $35,000 goal

469% Funded! Order Below

Product Choices


StereoPi AnyCase Kit

With AnyCase Kit you can get your setup in a 10 minutes, before you go to your 3D printer or laser cut machine! You can assemble any case with 25, 65, 120 or 200 mm stereobase, or for 360 degree video with just a screwdriver! And you have 12 more camera ribbons now, do not afraid to bend you cables in your bold experiments!


StereoPi Slim Edition

Perfect for DIY ninjas and those wanting to embed StereoPi in a tight space. This board is the same as the standard edition, but without all the bulky connectors - the Ethernet RJ45 jack, GPIO header, and dual USB Type-A connector have not been populated. To use this board, you will need your own Raspberry Pi Compute Module, cameras, and camera ribbon cables. Two short power cables already included.


StereoPi Starter Kit

This kit has everything you need to get started right away. The kit includes one StereoPi Standard Edition board, two V1 cameras (w/ ~20 cm ribbon cables), one Raspberry Pi Compute Module 3 + Lite, and everything in the StereoPi Accessories Kit (two short ribbon cables, one USB power cable, two power cables, one V1/V2 dual-camera mounting plate, and one wide-angle dual-camera mounting plate). We've also included a microSD card pre-imaged with Raspbian and all the stereoscopic video and image demos you see on this project page.


StereoPi Deluxe Kit

This kit includes everything in the StereoPi Starter Kit and adds two wide-angle (160°) cameras (w/ ~20 cm ribbon cables). With this kit, you'll be able to run all of the demos shown on this project page and start experimenting on your own. You will reign supreme over your stereoscopic domain.



We are a small team of geeks who have been making remote-controlled things with livestreaming video since 2010. We've done everything from boats and planes, to robots, copters, and VR helmets. If we can't find the right tools for our projects, we build them ourselves.


Sergey Serov

Kirill Shiryaev



Full-service Manufacturer

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: