Work on Raspberry Pi use GPIO listen PIR sensor send command through WebSocket, Make photo live to be like as "Harry Potter" magic photo.
Raspberry Pi 3
OS: RASPBIAN STRETCH WITH DESKTOP - 2017-11-29
nodejs: v4.8.2
pigpio: 1.64-1
$ git clone https://github.com/vincent7128/RaspberryPi-Magic-Photo.git
$ cd RaspberryPi-Magic-Photo
$ npm install --save
$ sudo node index.js
*** Open browser http://localhost:8000, it show be done! ***
*** before you run under command, close all browser window ***
$ chromium-browser --kiosk http://localhost:8000
This project is licensed under the MIT License - see the LICENSE file for details