From 4d9e252d932a8bb303fbb28c8637ca3587dddf9d Mon Sep 17 00:00:00 2001 From: serengil Date: Sun, 29 Nov 2020 22:04:12 +0300 Subject: [PATCH] unnecessary comments removed --- deepface/commons/functions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/deepface/commons/functions.py b/deepface/commons/functions.py index 9a0600d..645ab83 100644 --- a/deepface/commons/functions.py +++ b/deepface/commons/functions.py @@ -170,8 +170,6 @@ def detect_face(img, detector_backend = 'opencv', grayscale = False, enforce_det home = str(Path.home()) - #TODO: what if I directly call detect_face? In this case, initialize_detector hadn't been called before... - #if functions.preproces_face is called directly, then face_detector global variable might not been initialized. if not "face_detector" in globals(): initialize_detector(detector_backend = detector_backend)