You can do the following:
The use of this API is recommended for people in the marketing industry or companies that have social networks. You can verify if if a person is underage or not by simply passing the image to the system. You will find it very useful when you have to deal with big databases of images, as it will give you a lot of information in just one second and in an accurate way.
Detect the estimated person’s age in a given image. Also, detect its gender. Ideal to sort and verify images.
You can check Age and Gender Detector API for free here.