faceapi_helper size increases

This commit is contained in:
gandhimathi 2022-06-04 07:38:38 +00:00
parent 8ce79cfc4e
commit 2fe8fc5a47

View File

@ -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];