facial_emotion_detector / get_every_fram_path.py
AhmedIbrahim007's picture
Upload 36 files
8f412ba verified
raw
history blame contribute delete
418 Bytes
import os
def getEveryFramPath(directoryPath):
# Define the directory path
directory_path = directoryPath
# Get the list of all file paths
file_paths = []
for root, directories, files in os.walk(directory_path):
for filename in files:
file_paths.append(os.path.join(root, filename))
# Print the list of file paths
print(file_paths)
return file_paths