Re: Finding duplicated photo

2011-07-11 Thread Kevin Zhang
On Mon, Jul 11, 2011 at 10:50 PM, Fulvio wrote: > > > I found that isn't python 3 code :( > > It's written in python 2.6. > Then the code should go into some other program to allow actions on those > pictures which are matching each other. Am I right? > > The leverages PIL to get the job done.

Re: Finding duplicated photo

2011-07-11 Thread Fulvio
Dave Angel wrote: > If your real problem is identifying a renamed file amongst thousands of > others, why not just compare the metadata? it'll be much faster. > This was the primer situation, then to get into the dirt I tought something more sophisticated. There was a program some year's back w

Re: Finding duplicated photo

2011-07-11 Thread Fulvio
Kevin Zhang wrote: > If anyone's interested, pleas checkout the source code in the attachment > and welcome any advise. I found that isn't python 3 code :( Then the code should go into some other program to allow actions on those pictures which are matching each other. Am I right? -- http://m

Re: Finding duplicated photo

2011-07-11 Thread Fulvio
Thomas Jollans wrote: > If Gwenview simply moves/renames the images, is it not enough to compare > the actual files, byte by byte? For the work at the spot I found Geeqie, doing right. In the other hand learning some PIL function is one of my interest. -- http://mail.python.org/mailman/listin

Re: Finding duplicated photo

2011-07-10 Thread Kevin Zhang
On Fri, Jul 8, 2011 at 8:37 PM, Billy Mays wrote: > > > I recently wrote a program after reading an article ( > http://www.hackerfactor.com/**blog/index.php?/archives/432-** > Looks-Like-It.html) > using the DCT method h

Re: Finding duplicated photo

2011-07-08 Thread Dave Angel
On 01/-10/-28163 02:59 PM, TheSaint wrote: Hello, I came across the problem that Gwenview moves the photo from the camera memory by renaming them, but later I forgot which where moved. Then I tought about a small script in python, but I stumbled upon my ignorance on the way to do that. PIL can

Re: Finding duplicated photo

2011-07-08 Thread Dan Stromberg
On Fri, Jul 8, 2011 at 8:16 AM, Thomas Jollans wrote: > On 07/08/2011 01:29 PM, TheSaint wrote: > > Hello, > > > > I came across the problem that Gwenview moves the photo from the camera > > memory by renaming them, but later I forgot which where moved. > > Then I tought about a small script in p

Re: Finding duplicated photo

2011-07-08 Thread Thomas Jollans
On 07/08/2011 01:29 PM, TheSaint wrote: > Hello, > > I came across the problem that Gwenview moves the photo from the camera > memory by renaming them, but later I forgot which where moved. > Then I tought about a small script in python, but I stumbled upon my > ignorance on the way to do that.

Re: Finding duplicated photo

2011-07-08 Thread Billy Mays
On 07/08/2011 10:14 AM, TheSaint wrote: Billy Mays wrote: It worked surprisingly well even with just the 64bit hash it produces. I'd say that comparing 2 images reduced upto 32x32 bit seems too little to find if one of the 2 portrait has a smile referred to the other. I think it's about that

Re: Finding duplicated photo

2011-07-08 Thread TheSaint
Billy Mays wrote: > It worked surprisingly well even > with just the 64bit hash it produces. > I'd say that comparing 2 images reduced upto 32x32 bit seems too little to find if one of the 2 portrait has a smile referred to the other. I think it's about that mine and your suggestion are similar,

Re: Finding duplicated photo

2011-07-08 Thread Billy Mays
On 07/08/2011 07:29 AM, TheSaint wrote: Hello, I came across the problem that Gwenview moves the photo from the camera memory by renaming them, but later I forgot which where moved. Then I tought about a small script in python, but I stumbled upon my ignorance on the way to do that. PIL can fin

Finding duplicated photo

2011-07-08 Thread TheSaint
Hello, I came across the problem that Gwenview moves the photo from the camera memory by renaming them, but later I forgot which where moved. Then I tought about a small script in python, but I stumbled upon my ignorance on the way to do that. PIL can find similar pictures. I was thinking to re