如何在PHP中检测类似的图像? [英] How to detect similar Images in PHP?

查看:127
本文介绍了如何在PHP中检测类似的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有许多不同分辨率的相同图片的文件,适用于移动设备,个人电脑,掌上电脑等各种设备。现在我试图在页面中只显示独特的图片,但我不知道该怎么做。如果我在第一时间维护数据库,我本可以避免这种情况,但我没有。我需要你帮助检测最大的独特图片。

I have many files of a same picture in various resolution, suitable for every devices like mobile, pc, psp etc. Now I am trying to display only unique pictures in the page, but I dont know how to. I could have avoided this if I maintained a database at the first place, but I didn't. And I need your help detecting the largest unique pictures.

推荐答案

嗯,即使你有很多算法要做,我相信手动完成它仍然会更快。下载所有图像,将它们提供给像Windows Live照片库或任何其他可以匹配类似图像的软件。
这将花费你几个小时,但实现图像匹配算法可能需要更多。之后,您可以花费额外的时间来修改当前系统,以便将所有内容存储在数据库中。
解决问题的原因,而不是症状。

Well, even thou there are quite a few algorithms to do that, i believe it would still be faster to do that manually. Download all the images feed them into something like windows live photo gallery or any other software which could match similar images. This will take you few hours, but implementing image matching algorithm could take far more. After that you could spend extra time on amending your current system to store everything in a DB. Fix cause of the problem, not it's symptoms.

这篇关于如何在PHP中检测类似的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆