1.参考pycharm导入cv2_pycharm import cv2-CSDN博客
2.pip install opencv-python
- python 3.8导入mediapipe
3.1 pip install mediapipe 导入报错,
3.2离线导入
参考Win10安装mediapipe的步骤_mediapipe安装python版本-CSDN博客
首先安装opencv-contrib-python
pip install opencv-contrib-python -i https://pypi.douban.com/simple/,但安装失败
在Links for opencv-contrib-python中下载对应的版本,我下载的是opencv_contrib_python-3.4.10.35-cp37-cp37m-win_amd64.whl
3.pip install mediapipe