https://gist.github.com/mvsantos/5554663
It does a good enough job for studio photography with clear subjects and plain backgrounds. But fails miserably if the background is multicolour and/or contain too many objects.
https://gist.github.com/mvsantos/5554663
It does a good enough job for studio photography with clear subjects and plain backgrounds. But fails miserably if the background is multicolour and/or contain too many objects.