【问题标题】:Height measuring system thru Webcam通过网络摄像头的高度测量系统
【发布时间】:2013-09-14 02:33:37
【问题描述】:

您好,先生们,我正在尝试开发一个程序,该程序将通过 WEBCAM 测量一个人的身高

但我仍然不知道该怎么做,到目前为止我所得到的只是访问网络摄像头@_@

谁能教我更多关于 EMGU 开发的知识:) 提前谢谢

这就是我的全部T_T我希望有人能教我

void ProcessFrame(object sender, EventArgs arg)
{
    Image<Bgr, Byte> ImageFrame = capture.QueryFrame();
    imageBox1.Image = ImageFrame;
}

private void Fitting_Load(object sender, EventArgs e)
{
    try
    {
        capture = new Capture();
    }
    catch (NullReferenceException excpt)
    {
        textBox1.Text = excpt.Message;
        return;
    }
    Application.Idle += ProcessFrame;
    captureInProgress = true;
    btnRecord.Text = "Pause";
}

private void Fitting_FormClosed(object sender, FormClosedEventArgs e)
{
    if (capture != null)
    {
        capture.Dispose();
    }
}

private void btnRecord_Click(object sender, EventArgs e)
{
    if (captureInProgress == true)
    {
        Application.Idle -= ProcessFrame;
        captureInProgress = false;
        btnRecord.Text = "Record";
    }
    else
    {
        Application.Idle += ProcessFrame;
        captureInProgress = true;
        btnRecord.Text = "Stop";
    }
}

【问题讨论】:

    标签: c# winforms emgucv


    【解决方案1】:

    到目前为止,您是否尝试过除了网络摄像头部分之外的任何东西。

    我会给你一个开始。

    使用 C# 进行人脸检测示例 http://www.codeproject.com/Articles/462527/Camera-Face-Detection-in-Csharp-Using-Emgu-CV-Open 尝试看看这是否可以扩展到检测头发。如果你能检测到头发,

    C#根据对象颜色从图像中检测对象 http://kishordgupta.wordpress.com/2010/12/24/detect-object-from-image-based-on-object-color-by-c/

    【讨论】:

    • 感谢您的提示,先生...先生,是否有可能使用精巧的边缘获得一个人的高度,宽度?
    猜你喜欢
    • 2010-12-31
    • 1970-01-01
    • 2022-06-30
    • 1970-01-01
    • 2023-03-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-03
    相关资源
    最近更新 更多