简体   繁体   English

Windows上适用于python的即用型opencv安装

[英]Out-of-the-box opencv installation for python on windows

Is there any "Out-of-the-box" installation method for opencv for python on windows? 在Windows上,是否有适用于python的opencv的“开箱即用”安装方法? I'm looking for something like pip install opencv , or similar for a package that contains most common scientific libs and opencv. 我正在寻找类似pip install opencv类的东西,或者类似的软件包,其中包含最常见的科学库和opencv。

I know only the installation method wherein I compile opencv with the Python support flag, and then manually copy the necessary files to the python folder. 我只知道其中的安装方法,其中使用Python支持标志编译opencv,然后手动将必需的文件复制到python文件夹。

I am aware of the prebuilt packages at http://www.lfd.uci.edu/~gohlke/pythonlibs/ , but they are out of date. 我知道http://www.lfd.uci.edu/~gohlke/pythonlibs/中的预编译软件包,但是它们已经过时了。

I'm using Anaconda IPython and it seems an opencv package is available only for Linux ( http://docs.continuum.io/anaconda/pkgs.html ). 我正在使用Anaconda IPython,似乎opencv软件包仅适用于Linux( http://docs.continuum.io/anaconda/pkgs.html )。

The pre-built Libraries on SourceForge contain the 32 Bit python module under build/python/2.7. SourceForge上预构建库包含build / python / 2.7下的32位python模块。 You just need to copy it to Anaconda x86's library and you're all set. 您只需要将其复制到Anaconda x86的库中就可以了。

If you need x64 under Windows you have to make them yourself, I believe. 我相信,如果您在Windows下需要x64,则必须自己制作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM