Cool image search feature; probably not hard...
Cool image search feature; probably not hard...
I recently needed to find pictures that are similar to one particular "reference" image.
I did try XY's Find w Dupe, but with 80K files this just slowed to a crawl, since every photo is compared against every other (I think).
Whereas all I really need is for every photo to be compared to my one reference shot.
Every "photo de-dupe" app I can find does the same thing as XY: compare all to all. None of them can just compare all to one.
So I suggest this as a cool and unique feature, which as noted I don't think would be hard to add.
I did try XY's Find w Dupe, but with 80K files this just slowed to a crawl, since every photo is compared against every other (I think).
Whereas all I really need is for every photo to be compared to my one reference shot.
Every "photo de-dupe" app I can find does the same thing as XY: compare all to all. None of them can just compare all to one.
So I suggest this as a cool and unique feature, which as noted I don't think would be hard to add.
Last edited by Malarki on 29 May 2024 00:59, edited 1 time in total.
Re: Cool image search feature; probably not hard...
try search by Image Hash
?Image Hash: 0703032500e7- Attachments
-
- im.png (2.28 KiB) Viewed 2823 times
Re: Cool image search feature; probably not hard...
Thanks; that looks like a clever way to find exact matches. But I want to find similar pictures, not just exact matches. So I need XY's "Dupe similarity" search feature.
-
admin
- Site Admin
- Posts: 65062
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Cool image search feature; probably not hard...
Post two images that you would like to be considered similar.
FAQ | XY News RSS | XY X
Re: Cool image search feature; probably not hard...
Here are two pictures that I'd like to find as "similar". XY will match them if Dupe "Image Tolerance" is set to 13 or higher.
So for example I'd like to set "Reference.jpg" as my Reference picture, and "Image Tolerance" at 13, and have XY search through my folder tree of 80K+ images. It should find "Found.jpg" and any others that are just as similar or more similar to "Reference".
So for example I'd like to set "Reference.jpg" as my Reference picture, and "Image Tolerance" at 13, and have XY search through my folder tree of 80K+ images. It should find "Found.jpg" and any others that are just as similar or more similar to "Reference".
- Attachments
-
- Found.jpg (2.33 MiB) Viewed 2770 times
-
- Reference.jpg (2.13 MiB) Viewed 2770 times
-
admin
- Site Admin
- Posts: 65062
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Cool image search feature; probably not hard...
That would be a cool feature. Although there is no AI involved, so people will probably expect more than is possible without AI. Anyway, I'll add it to my list.
These are just some quick syntax sketches for later:
Quick Search Syntax:
Example:
These are just some quick syntax sketches for later:
Quick Search Syntax:
imgdupe:[reference image path] [/tolerance]Example:
imgdupe:C:\Users\Donald\Desktop\Desk\Reference.jpg /13FAQ | XY News RSS | XY X
Re: Cool image search feature; probably not hard...
Glad to hear it! Thanks for considering this.
Re: Cool image search feature; probably not hard...
Yeah I previously suggested it would be good to open tolerance up to quicksearch, but via image hash, your way probz more user friendly though.
viewtopic.php?p=212857#p212857
viewtopic.php?p=212857#p212857
-
admin
- Site Admin
- Posts: 65062
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Cool image search feature; probably not hard...
I think I can overload it like this, there are no ambiguities between a path and a hash:
imgdupe:[reference image path OR image hash] [/tolerance]FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 65062
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Cool image search feature; probably not hard...
It ended up pretty close to your suggestion (12 is the tolerance here):jupe wrote: ↑31 May 2024 01:53 Yeah I previously suggested it would be good to open tolerance up to quicksearch, but via image hash, your way probz more user friendly though.
viewtopic.php?p=212857#p212857
prop:#image.hash:12~518ce71800d7FAQ | XY News RSS | XY X
Re: Cool image search feature; probably not hard...
Thank you! Added practically overnight; and it works great. This is something that AFAIK no other app can do. Plus I appreciate having my doll's hash enshrined in the XY change log. Couldn't be better.
Re: Cool image search feature; probably not hard...
Maybe i'm taking it too far, but somehow i feel this thing needs an own button added, 'cause indeed it's not a feature met casually in other file managers and decent users will never find it as filter commands use.
For example button could have something like 3 actions menu:
- Dupe-search of <selected> in Other Panel;
- Dupe-search of <selected> in <path in clipboard>;
- Set dupe-search tolerance.
Me personally can add this as script for myself, just tossing an idea for advertising feature to users.
For example button could have something like 3 actions menu:
- Dupe-search of <selected> in Other Panel;
- Dupe-search of <selected> in <path in clipboard>;
- Set dupe-search tolerance.
Me personally can add this as script for myself, just tossing an idea for advertising feature to users.
Win 7 SP1 x64 100% 1366x768|1900x1080
Re: Cool image search feature; probably not hard...
Just tested this out, works well, I think I will make use of this a lot more than the duplicates search panel. Nice job.
One thing I noticed in the changelog though, the tolerance range is listed as 0-99, but the find files panel is 0-16, is that correct?
Also since on the subject, theoretically would there be any speed difference to limiting search to images in the search term, or does the image.hash prefix already imply that? It's hard to tell based on testing with the caching affecting it.
One thing I noticed in the changelog though, the tolerance range is listed as 0-99, but the find files panel is 0-16, is that correct?
Also since on the subject, theoretically would there be any speed difference to limiting search to images in the search term, or does the image.hash prefix already imply that? It's hard to tell based on testing with the caching affecting it.
Re: Cool image search feature; probably not hard...
eil: That's actually what I had in mind, not knowing that a workable version could be effected through the "Name" box with props. And I thought that with such buttons on the interface as you describe it might could be an advertisable feature. But that may put Don in the position of "supporting" or justifying the widely-varying results from the dHash method.
-
admin
- Site Admin
- Posts: 65062
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Cool image search feature; probably not hard...
@jupe:
0-99: That's just what the parsing allows at the moment. In reality values > 16 quickly start to see everything as similar.
limiting search to images: yes, that's implied.
0-99: That's just what the parsing allows at the moment. In reality values > 16 quickly start to see everything as similar.
limiting search to images: yes, that's implied.
FAQ | XY News RSS | XY X
XYplorer Beta Club