我希望能够将网络摄像头拍摄的图像与计算机上存储的图像进行比较。
该库不需要百分百准确,因为它不会用于任何关键任务(例如警方调查),我只想要一些我可以使用的东西。
我尝试过一个演示项目CodeProject 的图像识别 http://www.codeproject.com/KB/cs/BackPropagationNeuralNet.aspx,并且它仅适用于小图像/当我比较完全相同的图像 120x90 像素时根本不起作用(这不属于 OK :P )。
以前图像识别有成功过吗?
如果是这样,您能否提供一个我可以在 C# 或 VB.NET 中使用的库的链接?
你可以试试这个:http://code.google.com/p/aforge/ http://code.google.com/p/aforge/
它包括一个比较分析,可以给你一个分数。还包括许多其他所有类型的出色成像功能。
// 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
}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)