Estimating object boundaries in the browser
Object boundary estimation using structured forests
from P.
Dollar and CL. Zitnick,
ported to C++ by P. Krähenbühl,
bundled into javascript magic via emscripten.
(Tested on Google Chrome, might misbehave on other browsers.)
Input image

Drop image here ⇧, or
Image boundaries

Sobel is fast but only detects image gradients, structured forest reflects better the true object boundaries.
You can also
drop the image here
drop the image here