Comments on: Install OpenCV on a Raspberry Pi (compatible with all RPi boards) https://randomnerdtutorials.com/install-opencv-raspberry-pi/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 28 Mar 2024 14:01:30 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Rui Santos https://randomnerdtutorials.com/install-opencv-raspberry-pi/#comment-901668 Thu, 28 Mar 2024 14:01:30 +0000 https://randomnerdtutorials.com/?p=146106#comment-901668 In reply to denis brion.

Thank you for the suggestion!

]]>
By: denis brion https://randomnerdtutorials.com/install-opencv-raspberry-pi/#comment-901633 Thu, 28 Mar 2024 11:19:04 +0000 https://randomnerdtutorials.com/?p=146106#comment-901633 Well, there are small defects in this tutorial:

a) it does not install libopencv-dev : for C++ programming (Arduino has a subset of C++; maybe people can be happier with C++ than python); this is annoying…
b) the debian way leads to diffferent versions (4.6 -see your figure-) than the pip way (4.9). This can be annoying, too: there are very little bugfixes (AFA now) with opencv, but they add new DNNs which may be very amusing to discover. 4.9 version is therefore more appealing. (and 4.10 will be even more!)

Another way is … to build from sources (works without trouble with PI4 and PI5 using qengineering.eu/install-opencv-on-raspberry-pi.html scripts (takes < 6 hrs IIRC -I goto sleep when RPI{4,5} compile with reliable scripts…on a Pi4 and Pi5 having >= 4G RAM).
As the scripts are written, one gets both C++ and python bindings…
NB: Qengineering use the two other ways (pip and apt) but I prefer the compile from source way…

]]>