Click4Ai

349.

Hard

### Facial Landmark Detection

Facial landmark detection is a task in computer vision that involves detecting the locations of specific points on a face, such as the eyes, nose, and mouth.

Example:

Suppose we have a face image and we want to detect the locations of the eyes, nose, and mouth. We can use facial landmark detection algorithms to identify the coordinates of these points.

Constraints:

* The face images should be aligned and have the same size.

* The facial landmark detection algorithm should be able to handle variations in lighting, pose, and expression.

* The algorithm should return the coordinates of the eyes, nose, and mouth in the format (x, y).

Test Cases

Test Case 1
Input: {"face_image": [[1, 2], [3, 4]]}
Expected: [(2.0, 2.0), (2.0, 3.0), (2.0, 4.0)]
Test Case 2
Input: {"face_image": [[5, 6], [7, 8]]}
Expected: [(6.0, 6.0), (6.0, 7.0), (6.0, 8.0)]
+ 3 hidden test cases