OpenCV 4.2.0 installation files including contrib(extra modules) built with NON_FREE flag
for Rasbian Buster on Raspberry Pi 3/4 Model B
Installation instructions.
sudo apt-get update
- download this release file, opencv4.2.0.deb.tar
wget https://github.com/dltpdn/opencv-for-rpi/releases/download/4.2.0_buster_pi3b/opencv4.2.0.deb.tar
tar -xvf opencv4.2.0.deb.tar
sudo apt-get install -y ./OpenCV*.deb
pkg-config --modversion opencv4
4.2.0
python3
import cv2
cv2.__version__