Re:Content-aware image resize library
by overload119 on Tuesday January 30, 2018 @11:24PM
(#16271288)
Am I the only one getting a laugh out of this? I also tried it on myself and the result was funny.
Re:Content-aware image resize library
by khedoros1 on Wednesday January 31, 2018 @01:20AM
(#16271904)
With a little change to the algorithm, you can mark areas as "must not change" and "must change", basically manually marking areas as "high energy" and "low energy".
In all fairness, the read me says “Todo: face detection”
Re:Content-aware image resize library
by peterburkimsher on Tuesday January 30, 2018 @11:24PM
(#16271291)
That's true, and I agree with the author!
It will be more complicated than it seems, though, because I just tried the GUI version from gabeiscoding above, and got the following result:
http://peterburk.free.fr/seamCarving/lighthouse_seamCarvingG...
The algorithm itself looks like it needs face (and body) detection to be really useful, though.
Example: My girlfriend and I on holiday in Australia.
Original:
http://peterburk.free.fr/seamCarving/lighthouse.jpg
Shrunk:
http://peterburk.free.fr/seamCarving/lighthouse_seamCarving....