本文介绍了是否有任何.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.

我已经尝试了

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

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图像识别库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 06:44