How to install OpenCV on Raspberry pi and solve all errors | Easiest Tutorial

preview_player
Показать описание

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install python-opencv

sudo apt-get install build-essential cmake pkg-config
sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
sudo apt-get install libxvidcore-dev libx264-dev
sudo apt-get install libgtk2.0-dev libgtk-3-dev
sudo apt-get install libatlas-base-dev gfortran
sudo apt-get install libqtgui4
sudo modprobe bcm2835-v4l2
sudo apt-get install libqt4-test

sudo apt-get install python3-dev
sudo apt-get install python3-pip

pip3 install opencv-python

IF ERROR(ImportError: undefined symbol: __atomic_fetch_add_8)

pip3 install opencv-python==3.4.6.27

Like my content? buy me a cup of coffee
Рекомендации по теме
Комментарии
Автор

Thank you so much.
The installation successfully got completed on
Raspberry Pi 3+
Buster Raspbian

If you get fatal error when passing the command sudo modprobe kindly reboot the Pi using sudo reboot. Then continue with installation. I had ti install opencv-python==3.4.6.27 for the above setup.

akhilk
Автор

Thankyou so much I have vist so many web site and refer it .but u gave an easy way for it.

niveshnivesh
Автор

THANK YOU SO MUCH. I have been trying to install this for days and this finally worked for me. I bought you a cup of coffee.

avi-brown
Автор

muchas muchas gracias!!! tenia ya 5 días intentando instalarlo de forma correcta, me suscribiré.

ivanrenteria
Автор

Thanks dude, it worked really well for me

fik
Автор

Sir ji
Mera main
Programe run nahi kar raha

amanbesra