We check if path_to_detector is None, but `path_to_detector` will never be None because he is hardcoded in method params. Hence, the file will never be automatically downloaded. I suggest checking if such a file exists and if not, then load it via the "load_url" method. |
||
|---|---|---|
| .. | ||
| detection | ||
| __init__.py | ||
| api.py | ||
| models.py | ||
| README.md | ||
| utils.py | ||
The code for Face Detection in this folder has been taken from the wonderful face_alignment repository. This has been modified to take batches of faces at a time.