Skip to content

UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.

chore: Just variable name change

yakhyo56ac8af432c3
diff --git a/examples/face_alignment.ipynb b/examples/face_alignment.ipynb
index 0a7b658..27f86ef 100644
--- a/examples/face_alignment.ipynb
+++ b/examples/face_alignment.ipynb
@@ -95,7 +95,7 @@
},
{
"cell_type": "code",
- "execution_count": 3,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -134,7 +134,7 @@
"\n",
" # Align the first detected face\n",
" landmark_array = landmarks[0]\n",
- " aligned_image, M_inv = face_alignment(input_image, landmark_array, image_size=112)\n",
+ " aligned_image, _ = face_alignment(input_image, landmark_array, image_size=112)\n",
" \n",
" # Convert images to RGB format for proper visualization\n",
" bbox_image = cv2.cvtColor(bbox_image, cv2.COLOR_BGR2RGB) \n",