Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual Studio 2013上使用Iron Python的实时摄影机提要_Python_Visual Studio_Visual Studio 2013_Ironpython_Emgucv - Fatal编程技术网

Visual Studio 2013上使用Iron Python的实时摄影机提要

Visual Studio 2013上使用Iron Python的实时摄影机提要,python,visual-studio,visual-studio-2013,ironpython,emgucv,Python,Visual Studio,Visual Studio 2013,Ironpython,Emgucv,经过大约两天的测试和研究,我什么也没想到。我通过VisualStudio2013使用IronPython,并尝试在窗口上获取摄影机视图。我似乎找不到任何能真正使用我所做的工作的库。有很多关于设置不同库的教程,我已经尝试了我能找到的所有教程,但没有任何运气,因为它们似乎并不完全针对我正在使用的库。我尝试过OpenCV,但这似乎不起作用,emgu是我做过的最接近的 import clr clr.AddReferenceToFile("Emgu.Util.dll") clr.AddReferenceT

经过大约两天的测试和研究,我什么也没想到。我通过VisualStudio2013使用IronPython,并尝试在窗口上获取摄影机视图。我似乎找不到任何能真正使用我所做的工作的库。有很多关于设置不同库的教程,我已经尝试了我能找到的所有教程,但没有任何运气,因为它们似乎并不完全针对我正在使用的库。我尝试过OpenCV,但这似乎不起作用,emgu是我做过的最接近的

import clr
clr.AddReferenceToFile("Emgu.Util.dll")
clr.AddReferenceToFile("Emgu.CV.dll")
clr.AddReferenceToFile("Emgu.CV.ML.dll")
clr.AddReferenceToFile("Emgu.CV.UI.dll")
from Emgu.CV import *
from Emgu.CV.UI import *
from Emgu.CV.Structure import *
from System import *

这似乎是我唯一能够完成我需要的工作的方法,但是,python没有API(只有VB.net、C#等),所以我不知道在这之后该怎么做才能让相机完成任何事情。因此,我的问题是,我需要做什么才能让Emgu给我摄像头提要,或者有没有更好的方法,我还没有找到,可以与IronPython和Visual Studio 2013一起使用?

在IronPython和.NET中,您应该能够用C#和.NET做任何可以做的事情。在某些情况下,事情可能会变得有点尴尬,但不需要(铁的)特定于Python的API。你是对的,它正在工作,但看起来我必须在工作中解决所有问题。或者我可以试着学C。谢谢你的帮助。