### Face Recognition
Face recognition is a fundamental task in computer vision. Given a face image, we want to identify the person in the image. This can be achieved by comparing the face image with a database of known faces.
Example:
Suppose we have a database of 10 known faces, and we want to identify a person in a given image. We can use face recognition algorithms to compare the face in the image with the faces in the database and return the person's name.
Constraints:
* The face images should be aligned and have the same size.
* The database of known faces should contain at least 10 faces.
* The face recognition algorithm should be able to handle variations in lighting, pose, and expression.
Test Cases
Test Case 1
Input:
{"face_image": [[1, 2], [3, 4]], "database": [[[5, 6], [7, 8]], [[9, 10], [11, 12]]]}Expected:
1Test Case 2
Input:
{"face_image": [[13, 14], [15, 16]], "database": [[[17, 18], [19, 20]], [[21, 22], [23, 24]]]}Expected:
0+ 3 hidden test cases