https://github.com/codait/fae-tfjs
https://github.com/codait/fae-tfjs
age estimation tensorflow
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/codait/fae-tfjs
- Owner: CODAIT
- Created: 2019-05-15T18:49:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-26T18:37:12.000Z (almost 7 years ago)
- Last Synced: 2025-05-06T23:17:17.609Z (about 1 year ago)
- Topics: age, estimation, tensorflow
- Language: JavaScript
- Homepage:
- Size: 5.01 MB
- Stars: 9
- Watchers: 18
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IBM Code Model Asset Exchange: Facial Age Estimator with TensorFlow.js
You can run this demo app in your local environment if you have Node.js or Docker installed.
## Run in Node.js
If you have [Node.js](https://nodejs.org/en/download/) installed:
1. Clone this repository
```
$ git clone https://github.com/IBM/fae-tfjs
$ cd fae-tfjs
```
2. Install dependencies
```
$ npm install
```
3. Run app
```
$ node app.js
```
4. In your browser, visit [localhost:3000](http://localhost:3000).
## Run in Docker image
If you have [Docker](https://www.docker.com/products/docker-desktop) installed:
1. Clone this repository
```
$ git clone https://github.com/IBM/fae-tfjs
$ cd fae-tfjs
```
2. [Build the Docker image](https://docs.docker.com/engine/reference/commandline/build/)
```
$ docker build -t fae-tfjs .
```
3. [Run the Docker container](https://docs.docker.com/engine/reference/commandline/run/)
```
$ docker run -it -p 3000:3000 fae-tfjs
```
4. In your browser, open [localhost:3000](http://localhost:3000) and enable the web camera
5. [Obtain the container id](https://docs.docker.com/engine/reference/commandline/ps/) and [stop the Docker container](https://docs.docker.com/engine/reference/commandline/stop/)
```
$ docker ps
CONTAINER ID IMAGE COMMAND ...
3...6 fae-tfjs ...
$ docker stop 3...6
```