From google: The Viola-Jones algorithm is a widely used mechanism for object detection. The main property of this algorithm is that training is slow, but detection is fast. ... Then the detection window is moved across the image as follows: Set the minimum window size, and sliding step corresponding to that size.
https://github.com/opencv/opencv/tree/master/data/haarcascades
(https://github.com/riju18/normal_smile_face_detection_voila_jones_algorithm/files/3592175/10.1.1.10.6807.pdf)
will be updated soon
https://www.superdatascience.com/
smile face detection (static image):