5 ms·
I tried with 2 icons I custom created. https://imgur.com/a/ZtseO8j https://imgur.com/a/ZtseO8j The first one (the arrow into the door) seems to have worked wel
by amyboyd 8y ago
I tried with 2 icons I custom created. https://imgur.com/a/ZtseO8j https://imgur.com/a/ZtseO8j
The first one (the arrow into the door) seems to have worked well for the first three 'similar icons'.
The second one (remove user) didn't work at all. Maybe because it is circled.
In both cases, half the similar icons are 'download' icons, and I can kind of see why for the first case but not at all for the second case.
- yantrams 8y agoI suspect it has to do with the lower resolution. I'm using nearest neighbors interpolation for resizing images and have noticed similar behaviour before. Would be great if you can try with higher resolution versions(preferably > 200px) of the same images and let me know the results. A closer inspection of the results actually shows some of the results aren't that bad a match. Results ordered 1, 4, 5, 7 and 7 in particular vaguely have the same outline as that of the query image. If I have to score this result, I wouldn't give it more than a 3 out of 10 for sure.
- amyboyd 8y agoI just realised the "download" icons aren't meant to be "similar icons"... they allow you to download the one above. Doh! I've re-tried the "remove user" one but uploaded an SVG instead of a PNG (so technically the resolution is unlimited). Uploaded it both circled and not circled. Here are the results: https://imgur.com/a/OT8Spjt https://imgur.com/a/OT8Spjt
- yantrams 8y ago:) Please feel free to share the SVGs. I will convert them to PNGs and test them out. I will add SVG support real soon. Right now I've put an exception handler that passes an empty array as query if an image format that can't be decoded is thrown at it :|
- amyboyd 8y agoSure - is your email yantrams@linkdot.link? If you don't want to post your email publicly, can you email amy@amyboyd.co.uk and I'll reply with both SVGs + PNGs. I actually uploaded SVGs so I think you might already (unintentionally) support SVGs?
- amyboyd 8y agoAlso tried this "in-out" icon. I can kinda see how the algorithm got the results. Happy to send you a bunch of SVGs if want for testing BTW. https://imgur.com/a/hDdDHED https://imgur.com/a/hDdDHED
- Nashooo 8y ago> In both cases, half the similar icons are 'download' icons Those seem to be actual download buttons where you can download the found similar icon.
- yantrams 8y agoImproved results using icons with higher resolution, for those who are following this conversation and waiting with bated breath :) http://compute.vision/nouns/index.html?barnacles=https://s3.us-west-2.amazonaws.com/logoloads/BGQVTUS8RV9YW9MI http://compute.vision/nouns/index.html?barnacles=https://s3.... http://compute.vision/nouns/index.html?barnacles=https://s3.us-west-2.amazonaws.com/logoloads/BVHFRJZJDB9GT8GC http://compute.vision/nouns/index.html?barnacles=https://s3....
- some1else 8y agoTried to get the icon recognized and discovered it works best with black on white: https://imgur.com/a/EyuJhQA https://imgur.com/a/EyuJhQA
- yantrams 8y agoThanks a ton for testing it quite exhaustively! Would really appreciate it if you can share the second image. I spent a lot of time working on a hack for 'normalizing' white on black and black on white backgrounds and also between choosing adaptive vs gaussian thresholds dynamically during preprocessing. Here is an example with white on black and black on white variations of Nike logo that works as intended. http://compute.vision/nouns/index.html?barnacles=https://s3.us-west-2.amazonaws.com/logoloads/WS001QCFM3Q0RUFC http://compute.vision/nouns/index.html?barnacles=https://s3.... http://compute.vision/nouns/index.html?barnacles=https://s3.us-west-2.amazonaws.com/logoloads/BBWECNT93R0FHO9O http://compute.vision/nouns/index.html?barnacles=https://s3.... Edit: Grammar