The Model Detects Age in Two States:
1.Age Detection in static Images
2.Age Detection in real-time video streams
Typically, you’ll see age detection implemented as a two-stage process:
Stage 1: Detect faces in the input image/video stream
Stage 2: Extract the face Region of Interest and apply the age detector algorithm to predict the age of the person
Types of Face Detectors are : Haar cascades, HOG + Linear SVM, Single Shot Detectors (SSDs), etc.
Deep learning-based face detectors are the most robust and will give you the best accuracy, but require even more computational resources than both Haar cascades and HOG + Linear SVMs
1. detect_age.py: Single image age prediction
2. detect_age_video.py: Age prediction in video streams