vscode 安装opencv报错:Import “cv2“ could not be resolved

使用vscode配置opencv,在import cv2后报错,解决办法:安装opencv-python-headless

pip install opencv-python opencv-python-headless

你可能感兴趣的:(踩坑,opencv,vscode,计算机视觉)