- Node
- Install dependencies (npm install)
- ngrok
#Linux relies on fswebcam currently
#Tested on ubuntu
sudo apt-get install fswebcam
#Mac OSX relies on imagesnap
#Repo https://github.com/rharder/imagesnap
#Avaliable through brew
brew install imagesnap
Standalone exe included. See src/bindings/CommandCam
node webcam.js
ngrok http 8000
Go to http://<your_ngrok_id>.ngrok.io/webcam.jpg
http://localhost:7071/api/MojifyImage?imageUrl=<ngrok_url>
Implement a webpage that continuously loads the Emojify image into the page and replaces the old one to create a "stream".