Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image 图像检索库_Image_Search - Fatal编程技术网

Image 图像检索库

Image 图像检索库,image,search,Image,Search,我想创建一个.NET应用程序,该应用程序接受一个图像并扫描文件夹中的所有图像,然后查找与之相似的图像 有什么建议我应该从哪里开始吗?有免费/开源的库吗?您可以使用。该方法正是这样做的。文档中有一个示例: // create template matching algorithm's instance // use zero similarity to make sure algorithm will provide anything ExhaustiveTemplateMatching tm =

我想创建一个.NET应用程序,该应用程序接受一个图像并扫描文件夹中的所有图像,然后查找与之相似的图像

有什么建议我应该从哪里开始吗?有免费/开源的库吗?

您可以使用。该方法正是这样做的。文档中有一个示例:

// 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.95f )
{
    // do something with quite similar images
}

这仅适用于相同大小的图像。如果有一种方法可以使它工作,甚至对不同大小的图像?