How can I take and show a webcam picture using IWS?

The attached demo project shows how to take a webcam picture and display it on a project screen.

Credits: https://batchloaf.wordpress.com/commandcam/