apt 安装
bash
sudo apt install libopencv-dev python3-opencv
pkg-config查看安装
bash
sudo apt install pkg-config
pkg-config --modversion opencv4
pkg-config --libs --cflags opencv4