code for doing depth mapping on webcams