capture photos from a webcam via node