opencv和emgucv的问题! [英] problem with opencv and emgucv!

查看:73
本文介绍了opencv和emgucv的问题!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手。我有需要使用opencvdotnet或emgucv的项目。当我试图调试一个简单的教程我有一个问题。这是我的代码



I am a newbie.I have project which need use opencvdotnet or emgucv. When i tried to debug a simple tutorial i have a problem. that is my 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 OpenCVDotNet;
namespace nghich2
{
    public partial class Form1 : Form
    {
        private CVCapture capture;
        public Form1()
        {
            InitializeComponent();
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            using (CVImage nextFrame = capture.QueryFrame())
            {
                pictureBox1.Image = nextFrame.ToBitmap();
            }
        }
        private void Form1_Load(object sender, EventArgs e)
        {
            capture = new CVCapture();
        }
    }
}





当我调试时,它显示Fileexception未处理 Application.Run(new Form1());



有人解释我?



When i debuged, it shown "Fileexception was unhandled" at "Application.Run(new Form1());"

Some one explain me??

推荐答案




租赁看我的关于设置EMGU的教程它应该有助于诊断你的问题,错误可能是由任何数量的事情造成的,所以更多的描述会有所帮助



创建您的第一个EMGU图像处理项目 [ ^ ]



还有EMGU安装页面



http://www.emgu.com/wiki/index.php/Download_And_Installation [ ^ ]



希望他们帮助

干杯

Chris
Hi
lease see my tutorial on setting up an EMGU it should help diagnose your problem, te error could be caused by any number of things so a little more description would be helpful

Creating Your First EMGU Image Processing Project[^]

There is also the EMGU installation page

http://www.emgu.com/wiki/index.php/Download_And_Installation[^]

Hope they help
Cheers
Chris


我建​​议使用Emgucv ..



使用以下参考



i'll suggest use Emgucv..

use following references

引用:



[ ^ ]





[ ^ ]





[ ^ ]







参考这些文章


[^]


[^]


[^]



refer these articles


这篇关于opencv和emgucv的问题!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆