Merge pull request #440 from renhaa/patch-1

Fix typo in analyze docstring
This commit is contained in:
Sefik Ilkin Serengil 2022-03-15 20:40:07 +00:00 committed by GitHub
commit 466037ef5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,7 +280,7 @@ def analyze(img_path, actions = ('emotion', 'age', 'gender', 'race') , models =
models['age'] = DeepFace.build_model('Age')
models['gender'] = DeepFace.build_model('Gender')
models['emotion'] = DeepFace.build_model('Emotion')
models['race'] = DeepFace.build_model('race')
models['race'] = DeepFace.build_model('Race')
enforce_detection (boolean): The function throws exception if a face could not be detected. Set this to True if you don't want to get exception. This might be convenient for low resolution images.