是否有任何.NET OK图像识别库? [英] Are there any OK image recognition libraries for .NET?

查看:121
本文介绍了是否有任何.NET OK图像识别库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够比较从摄像头拍摄到存储在我的计算机上的图像的图像。

I want to be able to compare an image taken from a webcam to an image stored on my computer.

本库没有需要是百分之百准确的,因为它不会在任何关键任务(例如警方调查)中使用,我只是想的东西好,我可以工作。

The library doesn't need to be one hundred percent accurate as it won't be used in anything mission critical (e.g. police investigation), I just want something OK I can work with.

我已经尝试了图像识别从$ C $的CProject <示范项目/ A>,它只能与小图像作品/当我比较确切的同一图像120x90像素(这不属于正常:P)不起作用的。

I have tried a demonstration project for Image Recognition from CodeProject, and it only works with small images / doesn't work at all when I compare an exact same image 120x90 pixels (this is not classified as OK :P ).

以前有与图像识别的成功过吗?

Has there been any success with image recognition before?

如果是这样,你将能够提供一个链接到库,我可以用C#中使用或VB.NET?

If so, would you be able to provide a link to a library I could use in either C# or VB.NET?

推荐答案

您可以试试这个:的 HTTP://$c$c.google.com/p/aforge/

它包括一个比较分析,会给你一个分数。有所有类型的其他许多伟大的影像学特征包括在内。

It includes a comparison analysis that will give you a score. There are many other great imaging features of all types included as well.

// The class also can be used to get similarity level between two image of the same size, which can be useful to get information about how different/similar are images:
// Create template matching algorithm's instance

// Use zero similarity to make sure algorithm will provide anything
ExhaustiveTemplateMatching tm = new ExhaustiveTemplateMatching(0);

// Compare two images
TemplateMatch[] matchings = tm.ProcessImage( image1, image2 );

// Check similarity level
if (matchings[0].Similarity > 0.95)
{
    // Do something with quite similar images
}

这篇关于是否有任何.NET OK图像识别库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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