Can we remove an object completely?
This is perhaps the most interesting application of seam carving. We can make an object completely disappear from an image. Let's consider the following image:
Let's select the region of interest:
After you remove the chair on the right, it will look something like this:
It's as if the chair never existed! Before we look at the code, it's important to know that this takes a while to run. So, just wait for a couple of ...