[英]comparing image from ui to saved image in SQL server database Asp.net, c#
I had developed an application in Asp.Net which saves image in SQL Server database it fines, but i want a scenario like this When i am trying to save same image again then it should gives me message that the image is duplicate. 我已经在Asp.Net中开发了一个应用程序,该应用程序可以将图像保存在SQL Server数据库中,但可以,但是我想要这样的情况:当我再次尝试保存相同图像时,它应该给我消息,该图像是重复的。 How to do this?
这个怎么做? How we can compare a image from UI & SQL database in Asp.net?
如何在Asp.net中比较UI和SQL数据库中的图像?
please help me friends Thanks 请帮助我的朋友谢谢
Well, if the image is exactly the same, then you could make a hash of the image object which is saved in a separate column, and check if there are any columns that matches any entries in that column whenever you try to save an image. 好吧,如果图像完全相同 ,则可以对图像对象进行哈希处理,然后将其保存在单独的列中,并在尝试保存图像时检查是否有任何与该列中的任何条目匹配的列。
If you need to check if the image is similar or just looks the same, then you need more advanced image recognition software.. 如果需要检查图像是否相似或只是看起来相同,则需要更高级的图像识别软件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.