opencv-python和opencv-contrib-python的区别
The difference between opencv-python and opencv-contrib-python
我正在查看 Python 包索引 (PyPi) 并注意到 2 个非常相似的包:opencv-contrib-python and opencv-python 并且想知道有什么区别。我看了看,它们的描述和版本号完全相同。
根据 PyPi 文档:
有四种不同的套餐(请参阅下面的选项 1、2、3 和 4):
标准桌面环境的软件包:
Option 1 - Main modules package: pip install opencv-python
Option 2 -
Full package (contains both main modules and contrib/extra modules):
pip install opencv-contrib-python
(check contrib/extra modules listing
from OpenCV documentation)
服务器(无头)环境的包:
Option 3 - Headless main modules package: pip install opencv-python-headless
Option 4 - Headless full package (contains both main modules and contrib/extra modules): pip install opencv-contrib-python-headless
不要在同一环境中安装多个不同的包
我正在查看 Python 包索引 (PyPi) 并注意到 2 个非常相似的包:opencv-contrib-python and opencv-python 并且想知道有什么区别。我看了看,它们的描述和版本号完全相同。
根据 PyPi 文档:
有四种不同的套餐(请参阅下面的选项 1、2、3 和 4):
标准桌面环境的软件包:
Option 1 - Main modules package:
pip install opencv-python
Option 2 - Full package (contains both main modules and contrib/extra modules):
pip install opencv-contrib-python
(check contrib/extra modules listing from OpenCV documentation)
服务器(无头)环境的包:
Option 3 - Headless main modules package:
pip install opencv-python-headless
Option 4 - Headless full package (contains both main modules and contrib/extra modules):
pip install opencv-contrib-python-headless
不要在同一环境中安装多个不同的包