基于OpenCV2的摄像头视频流获取

pip下载OpenCV2

你需要执行下面的代码(安装好python环境)

pip install opencv-python

如果你下载成功,会有下列输出

Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple
Requirement already satisfied: opencv-python in c:\python312\lib\site-packages (4.10.0.84)
Requirement already satisfied: numpy>=1.21.2 in c:\python312\lib\site-packages (from opencv-python) (1.26.4)

3 Comments

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注