mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 20:45:22 +00:00
Fix typo in analyze docstring
```python models['race'] = DeepFace.build_model('race') ``` gives ``` ValueError: Invalid model_name passed - race ``` Should be capital "Race" ```python models['race'] = DeepFace.build_model('Race') ```
This commit is contained in:
parent
bfbf41b165
commit
4c0cdefe82
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user