1.查看linux下的opencv安装库:
pkg-config opencv --libs
2.查看linux下的opencv安装版本:
pkg-config opencv --modversion
3.查看linux下的opencv安装路径:
sudo find / -iname "*opencv*"
4.python命令行查看opencv版本
python
import cv2
cv2.__version__
pkg-config opencv --libs
pkg-config opencv --modversion
sudo find / -iname "*opencv*"
python
import cv2
cv2.__version__