EmguCV错误!!!!!!!!!!!!!!!!!!!!!!!!!!!! [英] EmguCV error !!!!!!!!!!!!!!!!!!!!!!!!!
本文介绍了EmguCV错误!!!!!!!!!!!!!!!!!!!!!!!!!!!!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用以下代码:
With this code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Emgu.CV;
namespace test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Image<Bgr, Byte> img1 = new Image<Bgr, Byte>(480, 320, new Bgr(255, 0, 0));
}
}
}
我有此错误:
I have this errors:
Error 1 The type or namespace name "Bgr" could not be found (are you missing a using directive or an assembly reference?)
Error 2 The type or namespace name "Bgr" could not be found (are you missing a using directive or an assembly reference?)
Error 3 The type or namespace name "Bgr" could not be found (are you missing a using directive or an assembly reference?)
Iam使用Emgu.CV.x86_2.0.1.0&不能防止错误!!!!!!!!!!!!!
Iam using Emgu.CV.x86_2.0.1.0 & can''t predect the error !!!!!!!!!!!!!
推荐答案
^ ]
听起来好像您的dll不存在.
Check Here[^]
It sounds like your dll''s aren''t present.
即使在其 [ ^ ],您可能会发现:
Even in their ''Hello World'' code sample[^] you may find:
using Emgu.CV.CvEnum;
using Emgu.CV.Structure;
程序中缺少.
missing in your program.
这篇关于EmguCV错误!!!!!!!!!!!!!!!!!!!!!!!!!!!!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文