how to check where the uploaded images already exist in the system

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.

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

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.

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

This article has been dead for over six months. Start a new discussion instead.