From 2fe8fc5a47fc37f03084b6189c8821cb461641f5 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Sat, 4 Jun 2022 07:38:38 +0000 Subject: [PATCH] faceapi_helper size increases --- api/application/helpers/faceapi_helper.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/application/helpers/faceapi_helper.php b/api/application/helpers/faceapi_helper.php index 8b884915..fc28974a 100644 --- a/api/application/helpers/faceapi_helper.php +++ b/api/application/helpers/faceapi_helper.php @@ -75,8 +75,10 @@ class faceapi // imagettftext($img, 20, 0, ($t_x1), ($t_y1-5), $color,$font, $Similarity); // imagepng($img, $destination_path); // imagepng($img, "face4.png"); - imagefilledrectangle($img, $t_x1-5, $t_y1-18, $t_x1+28, $t_y1, $white); - imagettftext($img, 10, 10, ($t_x1), ($t_y1-5), $color,$font, $Similarity); + // imagefilledrectangle($img, $t_x1-5, $t_y1-18, $t_x1+28, $t_y1, $white); + // imagettftext($img, 10, 10, ($t_x1), ($t_y1-5), $color,$font, $Similarity); + imagefilledrectangle($img, $t_x1-5, $t_y1-30, $t_x1+60, $t_y1, $white); + imagettftext($img, 17, 8, ($t_x1), ($t_y1-5), $color,$font, $Similarity); $get_image_format = explode(".",$destination_path); $image_format = $get_image_format[1];