StereoPi OpenCV and SLP image on RPi CM3

StereoPi hardware discussion
Post Reply
Sgw32
Posts: 1
Joined: Mon Feb 24, 2020 7:39 pm

StereoPi OpenCV and SLP image on RPi CM3

Post by Sgw32 »

Hi,

I have a Stereo Pi setup with RPi CM3 with 8 Gb flash memory. However, the OpenCV image provided on github is for 16 gb compute module.
How to shrink the partition? Is it possible to do it on Windows without Linux machine?

Best regards

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: StereoPi OpenCV and SLP image on RPi CM3

Post by Realizator »

Hi Sgw32,
Looks like you're talking about the latest image with the both C++ and Python code. Actually there are about 9Gb of data in this image, as it contains all sources of OpenCV, additional swap partitions, all compiled stuff etc. It is theoretically possible to fit all in 8Gb, but in this case it is necessary to build all from scratch and control your free space at every step.
If you do not need C++ part, you can either use previous Buster image, or use this guide for prepare this image by yourself: https://github.com/realizator/stereopi- ... -notice.md
This approach tooks about 20 minutes of time, and there are no need for compilation from source.
Eugene a.k.a. Realizator

Post Reply