check for images duplication

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2004
Posts: 19
Reputation: Deepa is an unknown quantity at this point 
Solved Threads: 0
Deepa Deepa is offline Offline
Newbie Poster

check for images duplication

 
0
  #1
Dec 29th, 2004
how to check where the uploaded images already exist in the system
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 117
Reputation: Iron_Cross is an unknown quantity at this point 
Solved Threads: 2
Iron_Cross's Avatar
Iron_Cross Iron_Cross is offline Offline
Junior Poster

Re: check for images duplication

 
0
  #2
Jan 13th, 2005
Huh? Do you want to check to see if someone uploaded the same image twice? You could check the filename and filesize...other than that I'm not sure what you're asking.
elitehackers.info
Today's Penny-Arcade!
Pain is weakness leaving the body!
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 19
Reputation: Deepa is an unknown quantity at this point 
Solved Threads: 0
Deepa Deepa is offline Offline
Newbie Poster

Re: check for images duplication

 
0
  #3
Jan 17th, 2005
hello,
while uploading a image i have to check whether the same image already exist.
i have to compare the images irrespective of image name.i have to check whether the image look alike
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: check for images duplication

 
0
  #4
Jan 17th, 2005
That is complicated. I would start by narrowing down the list in your database by file size.... and then looping through the list of files with the same size, and comparing those to what you have. I imagine this process to take a long time, but the next step, would be to read in the first image file, byte by byte (maybe into a byte array, or something), and then compare the respective bytes of the uploaded file, with the bytes in the current file of the same size... if all the bytes are the same, the image is obviously the same.

A possibility to speeding up this process, would be to read a couple of bytes from different locations within the file, and compare those couple of bytes to the corresponding bytes. This isn't easy.... but it can most certainly be done.
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 2
Reputation: HrishiR is an unknown quantity at this point 
Solved Threads: 0
HrishiR HrishiR is offline Offline
Newbie Poster

Re: check for images duplication

 
0
  #5
Jan 24th, 2006
Originally Posted by Deepa
hello,
while uploading a image i have to check whether the same image already exist.
i have to compare the images irrespective of image name.i have to check whether the image look alike
Hi Deepa,

I am devloping Image Comparison Application in ASP.net which compares images irrespective of it's format,size and gives result in Percentage Format!!
I want to know whether it's possible to comapre 2 images using asp.net irrespective of their format and result should be in percenatge format like 80%-90% like that...
And the criterias for comparison are not "image size,pixel by pixel comparison and height,width". But they are other than this!! Can anyone suggest criterias for such comparison?....

Are you successfull in finding same images irrespective of their format,size in the problem that you have posted?...
Example:
**say there is a yellow rose picture and another with red rose picture
**then similarity is 99%
**irrespective of the height and width of the images
Can anyone please help me in this matter.It would be really appreciated if anyone gives some good links.If you can provide with some sample code it would be really appreciated. It's very much like a research topic.Most of stuff i got was research one & not related to programming pt. of view..
Hoping +ve Reply!!

thanks hrishi
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4202 | Replies: 4
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC