Face detection has been examined in various perspectives.
It is categorized into four major methods: knowledge-based
method, characteristic-based method, template matching method,
and appearance-based method. First, the knowledge-based method
is used to locate the eyes, nose, and mouth in a face and measure
the distance between them based on the general information of human faces [1–4].