We’re giving away 1,500 DJI Tello drones. Enter to win ›
Get this modelTry the API Try the web app
By IBM Developer Staff | Published September 21, 2018
Artificial IntelligenceVisionFacial Recognition
This repository contains code to instantiate and deploy a facial age estimation model. The model detects faces in an image, extracts facial features for each face detected and finally predicts the age of each face. The model uses a coarse-to-fine strategy to perform multi-class classification and regression for age estimation. The input to the model is an image and the output is a list of estimated ages and bounding box coordinates of each face detected in the image. The format of the bounding box coordinates is [xmin, ymin, width, height].
[xmin, ymin, width, height]
The model is based on the SSR-Net model. The model files are hosted on IBM Cloud Object Storage. The code in this repository deploys the model as a web service in a Docker container. This repository was developed as part of the IBM Code Model Asset Exchange.
This model can be deployed using the following mechanisms:
docker run -it -p 5000:5000 codait/max-facial-age-estimator
kubectl apply -f https://raw.githubusercontent.com/IBM/MAX-Facial-Age-Estimator/master/max-facial-age-estimator.yaml
Once deployed, you can test the model from the command line. For example:
$ curl -F "image=@assets/tom_cruise.jpg" -XPOST http://localhost:5000/model/predict
Back to top