This example is running a Processing sketch that captures webcam input, detects your face with the openCV Processing library and uses the P5Websockets library for Java to open up a websocket with your browser.
I made a slight modification of the first person mouse controls to make it updatable by an event triggered by the incoming websocket face data. Forward/back movement of the camera is still done with standard up/down/left/right keys.
Code here github.com/paulkaplan/FaceSpace
Disclaimer: Three.js Minecraft map is NOT MINE, in the examples from the three.js repo here github.com/mrdoob/three.js
Loading more stuff…
Hmm…it looks like things are taking a while to load. Try again?