Algorithms about face detection and tracking