【发布时间】:2012-04-16 14:05:54
【问题描述】:
我有以下代码使用 EmgucV 在 imagebox 中显示图像:
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。我需要做什么来纠正这个问题?
【问题讨论】:
标签: c# exception exception-handling emgucv