39

Recently I've played around with the Seam Carving algorithm for the content-aware image resizing.

It turned out that the algorithm is pretty powerful, elegant but yet simple. One of the interesting parts was that it might be optimized with the Dynamic Progrming approach. Also, it may perform a simple object removal from the image without even modern ML algorithms.

I've tried to describe my experience here in the interactive article:
https://trekhleb.dev/blog/2021/...

Comments
  • 3
    Wow, that's cool (and even cooler to see TS in it).

    Now imagine if it could be multi-threaded.
  • 4
    Dude that's some awesome work right there! Amazing!
  • 2
    wow! it just blew my mind :O
  • 1
    That is super cool!! I’d love to implement something similar myself.
    Great work!
  • 2
    This has great meme potential
Add Comment