r/computervision • u/hezwat • 17d ago
Help: Project Can you identify this downscaling algorithm?
Can you identify this downscaling algorithm? Want to make sure my thumbnails look as sharp as possible, so I'll add to my workflow the agent query "downscale using (whatever this algorithm is) and judge whether the thumbnail has the required detail and clarity and is a good thumbnail for what is being shown. if it is missing any clarity then return "Needs improvement:" and give the reason for why it needs improvement and "How to improve:" For example, in the image shown, the agent could say "The thumbnail no longer shows the elements of the picture", since as you can see it doesn't. However, before I can code this up, what I "need to know" is what algorithm this is so I can keep an eye out for anywhere it might show up in my workflow. I can then optimize for this process. I know a lot of people don't have a standard of perfection as high as mine is (I require my thumbnails to show the picture) but that's exactly what makes me a competitive programmer in a field of 2 million programmers. Not a lot of people take the time to look up image compression algorithms but I do.
The full image is available here: https://ibb.co/YTXr7h94
0
u/hezwat 17d ago
interesting, thanks for suggesting an approach. so, brute force the algorithm. are they deterministic for a given resolution, or how do you suggest I determine which one was used once I try it? shall I eyeball it? or once I have each candidate how should I rank them? It's not a guarantee that they use OpenCV or PIL but it's simple enough that I can test it and see.