2
我有下面的代码来显示使用EmgucV在imagebox图像:EmguCV试图读取或写入保护内存
Capture capture;
Image<Bgr, Byte> image;
public Form1()
{
InitializeComponent();
Application.Idle += new EventHandler(Start);
}
void Start(object sender, EventArgs e)
{
capture = new Capture();
image = capture.QueryFrame();
imageBox1.Image = image;
}
我得到的异常Attempted to read or write protected memory
。我需要做些什么来纠正这个问题?
是什么类型imageBox1? – surfen 2012-04-02 22:26:49