##Face the Internet
This project was originally conceived between Florian Hacker and John Pett as an entry to the Google and Barbican DevArt contest. This project has also been contributed to by Ben Harvey and Edu Wass for their lean programming skills!
Here is some imagery from the previous incarnations of this project, outlining the original concept of both online and real-world manifestations.
This project sits somewhere between sculpture, technology, art, motion graphic design and interactivity. An experiment, as much as a learning exercise, to combine the latest technologies for application development with thoughts on contemporary art, computer vision and user interaction.
Before you start you will need the following installed on your machine. Python &
:/pkg-config need installing with Brew.
Close this repository in to the desired location on your local machine.
From inside the repository, run
$ npm installto get project dependencies.
Once the dependencies have installed, running
$ npm startwill initiate the server and application and run a development version of the application on
$ npm install opencv --savefrom the root of the project directory. For more information on this, please see Peter Braden's Github repository.
Express + Websockets
To take advantage of real-time face recognition and giving instant feedback to the user, this project uses websockets. Express.io provide the solution to client and server interactions, which you can install as an
npm-module, you can find further information here.
Flynn is the cluster PaaS that will take care of all the devops for us, we just have to push out app to it.
Fire up a DigitalOcean droplet with Ubuntu 14.04 x64
Bash run this script. When it finishes, remember the last 10 lines of output contain some important info:
- Copy the
$ flynn cluster add ...command
- Copy the dashboard URL and login token
Push to Flynn
From your local development machine, go to the folder where you store the
Install the Flynn CLI if you don't have it yet, by using the following command:
$ L=/usr/local/bin/flynn && curl -sSL -A "uname -sp" https://dl.flynn.io/cli | zcat >$L && chmod +x $L
Next, run the command:
$ flynn cluster add ...(the exact command is outputted by the setup script in the setup steps). This will associate your local dev machine with your VPS Flynn cluster.
Make sure you have accessed the Flynn dashboard and accepted the certificate.
Now from inside the
face-the-internetrepo you can
$ flynn create APP_NAMEand then
$ git push flynn masterto send it to Flynn.