Inspired by https://github.com/Qengineering/Install-OpenCV-Raspberry-Pi-64-bits/
Please refer to https://github.com/zhangwangwz/install-ffmpeg to install ffmpeg before install opencv. Or you may run
sudo apt-get install ffmpeg
Usage:
sudo chmod 755 install_opencv.sh
bash install_opencv.sh
opencv==4.5.5
Change line 75-76 to disable Inference Engine (openvino)
If you want to add Inference Engine, please make sure that you have run setupvars.sh provided by openvino to initialize openvino environment
source /path/to/openvino/setupvars.sh