From c9a233206ae6e44983e36551e5a8bb9854fdb528 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Fri, 24 Dec 2021 12:00:54 +0300 Subject: [PATCH] according to the target size argument --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 72f05ca..14635df 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ demography = DeepFace.analyze(img_path = "img4.jpg", detector_backend = backends face = DeepFace.detectFace(img_path = "img.jpg", target_size = (224, 224), detector_backend = backends[4]) ``` -Face recognition models are actually CNN models and they expect standard sized inputs. So, resizing is required before representation. To avoid deformation, deepface adds black padding pixels after detection and alignment. +Face recognition models are actually CNN models and they expect standard sized inputs. So, resizing is required before representation. To avoid deformation, deepface adds black padding pixels according to the target size argument after detection and alignment.