如何在Windows中为Python 3.6(64位)安装openCV [英] How to install openCV for python 3.6 (64-bit) in windows
本文介绍了如何在Windows中为Python 3.6(64位)安装openCV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我能够将openCV用于32位python,但是我必须切换到64位才能使用tensorflow.
I was able to use openCV for 32-bit python however I had to switch to 64-bit to use tensorflow.
I did follow the instructions of from the opencv page here.
但是我仍然无法导入cv2或cv3.
However I still cannot import cv2 nor cv3.
我愿意接受替代品,我只想将tensorflow与openCV一样好用.
I am open to alternatives tho, I just wanted to use tensorflow with something as good as openCV.
推荐答案
升级到python 3.6.2 64位体系结构后,我还以为遇到了同样的问题.但是事实证明我是在安装..
I thought had the same problem after I upgraded to python 3.6.2 64bit architecture. But it turned out that I was installing by..
pip install cv2
...在python 3.6.2 x64上代替..
... on python 3.6.2 x64 instead of..
pip install opencv-python
这篇关于如何在Windows中为Python 3.6(64位)安装openCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文