.NET是否有任何可用的图像识别库?

时间:2020-03-06 14:54:38  来源:igfitidea点击:

我希望能够将网络摄像头拍摄的图像与计算机上存储的图像进行比较。

该库不必具有100%的准确度,因为它不会用于任何关键任务(例如警察调查),我只希望可以使用某些工具即可。

我已经尝试了一个来自CodeProject的图像识别演示项目,并且它仅适用于小图像/当我比较完全相同的图像120x90像素时,它根本不起作用(这未归为OK:P)。

图像识别以前是否成功?

如果是这样,我们能否提供我可以在任一Cor VB.NET中使用的库的链接?

解决方案

我们可以尝试以下方法: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
}

我们可以完全将EmguCV用于.NET。