You can run this demo app in your local environment if you have Node.js or Docker installed.
If you have Node.js installed:
-
Clone this repository
$ git clone https://github.com/IBM/fae-tfjs $ cd fae-tfjs
-
Install dependencies
$ npm install
-
Run app
$ node app.js
-
In your browser, visit localhost:3000.
If you have Docker installed:
-
Clone this repository
$ git clone https://github.com/IBM/fae-tfjs $ cd fae-tfjs
-
$ docker build -t fae-tfjs .
-
$ docker run -it -p 3000:3000 fae-tfjs
-
In your browser, open localhost:3000 and enable the web camera
-
Obtain the container id and stop the Docker container
$ docker ps CONTAINER ID IMAGE COMMAND ... 3...6 fae-tfjs ... $ docker stop 3...6