mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
unnecessary comments removed
This commit is contained in:
parent
6e4cf06738
commit
4d9e252d93
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user