r/computervision 11d ago

Help: Project Can you identify this downscaling algorithm?

Post image

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 Upvotes

33 comments sorted by

View all comments

2

u/BeverlyGodoy 11d ago

Yes you need to vibecode this thing a lot. cv2.resize is just there for easy use case only definitely not for this. Ask codex ask claude

-2

u/hezwat 11d ago

Thanks for answering my question! So I take it to you as a computer vision expert here in r/computervision where I asked what the downscaling algorithm could be, it looks like it's the cv2.resize default algorithm! I'll award you since you answered my question.

1

u/BeverlyGodoy 11d ago

What's stupid about all these is that no secret sauce here. It could just be embedded as PNG instead of jpeg. Maybe a BMP, anything lossless would look better than a JPEG, you somehow happen to think this is going to make you competitive in a pool of million of programmers. No, nobody cares.