0
イメージを受け入れ、フォルダ内のすべてのイメージをスキャンし、類似したイメージを見つける.NETアプリケーションを作成したいと思います。イメージ検索ライブラリ
私はどこから始めるべきですか?フリー/オープンソースライブラリはありますか?
イメージを受け入れ、フォルダ内のすべてのイメージをスキャンし、類似したイメージを見つける.NETアプリケーションを作成したいと思います。イメージ検索ライブラリ
私はどこから始めるべきですか?フリー/オープンソースライブラリはありますか?
AForge.NETを使用できます。 ExhaustiveTemplateMatchingメソッドはそれを正確に行います。ドキュメントに例があります:
// 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
}
これは、同じサイズの画像でのみ機能します。異なるサイズの画像でも動作させる方法があれば? – Chris