简体   繁体   English

将ui中的图像与SQL Server数据库Asp.net中保存的图像进行比较,C#

[英]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.

相关问题 图像未保存在服务器上的文件夹中 ASP.NET C# MVC - Image is not saved in the folder on Server ASP.NET C# MVC ASP.NET C#从SQL Server数据库获取检索并显示图像 - ASP.NET C# Get retrieve and show image from SQL Server database 如何从SQL Server数据库中检索图像字段civilimage1,civilimage2,以在带有vb.net或c#的ASP.NET中使用图像控件进行显示? - How to retrieve image fields civilimage1,civilimage2 from SQL Server database to show using image control in ASP.NET with vb.net or c#? 在ASP.NET C#页面上从SQL Server下载图像 - Downloading image from SQL Server on an ASP.NET C# page 从SQL Server表到ASP.NET图像控件的图像 - Image from SQL Server Table to asp.net image control (C#) 如何将图像文件从 ASP.NET MVC 5 web 表单发送到我的 SQL 数据库? - (C#) How do I send an image file from an ASP.NET MVC 5 web form to my SQL database? 将图像插入ASP.NET中的本地SQL Server数据库 - Insert image to local SQL Server database in ASP.NET ASP.NET Web API将图像上传到SQL Server数据库 - ASP.NET Web API upload image to SQL Server database 使用 c# asp.net 4.5 将存储为“图像”数据类型的多个图像从 Sql Server 下载到文件夹 - Download Multiple Images which are stored as "image" datatype from Sql Server to a FOLDER using c# asp.net 4.5 在数据库Asp.net C#SQL中插入文件名时将图像上传到文件夹 - Uploading Image to folder while inserting filename in database Asp.net C# SQL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM