Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Avidan is a national hero :) You can't take a CV course in IL without implementing this paper.
-
kamen69993yWow, that's cool (and even cooler to see TS in it).
Now imagine if it could be multi-threaded. -
That is super cool!! I’d love to implement something similar myself.
Great work! -
@Nanos Content-Aware is a bit of strong phrase to use here. If I recall correctly, the algorithm removes pixels that are in the "path of less resistance" - basically low color/intensity gradients. So if the pants are single color (not Ali G style), there are no gradients and it will pick those pixels to be removed. Same for the car.
Related Rants
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/...
rant
js
web
javascript