mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-07-30 11:40:37 -07:00
_
This commit is contained in:
parent
4a35635538
commit
2605930dfe
5 changed files with 220 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
|||
from os import scandir
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
# image_extensions = [".jpg", ".jpeg", ".png", ".tif", ".tiff"]
|
||||
|
||||
|
@ -22,7 +23,7 @@ def scantree(path):
|
|||
yield entry
|
||||
|
||||
|
||||
def get_files_paths(dir_path, extensions=None, subdirs=False):
|
||||
def get_files_paths(dir_path, extensions=None, subdirs=False) -> List[Path]:
|
||||
"""
|
||||
returns array of Path() of files
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue