This is an experiment in removing a photograph's background automatically, as long as the background is reasonably uniform. To create such an image, you may find this guide useful: mediacollege.com - How to Make a Green Screen.
Here is the first test subject:
The code here is experimental, and only to be used as an idea of what's possible. You could easily blow up your web server if you put something like this live for general use!