@return_list
def foo(n):
yield from range(n)
10), list(range(10))) test_eq(foo(
Utils
fetch_file
fetch_file (*args, force=False)
data_path
data_path ()
return_list
return_list (f)
mtcnn_aligned
mtcnn_aligned (path:pathlib.Path, force=False, batched=True)
Uses MTCNN to align and extract faces
Type | Default | Details | |
---|---|---|---|
path | Path | path to unaligned images | |
force | bool | False | compute MTCNN alignment even if aligned images exist |
batched | bool | True | |
Returns | Path | path to aligned images |