This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import glob as gb | |
import uuid | |
from shutil import copyfile | |
emotions_list = ["neutral", "anger", "contempt", "disgust", "fear", "happy", "sadness", "surprise"] | |
emotions_folders = sorted(gb.glob("emotions/*")) #Returns a list of all folders with participant numbers | |
print len(emotions_folders) | |
def imageWithEmotionEtraction(): | |
for x in emotions_folders: | |
participant = "%s" %x[-4:] #store current participant number | |
for sessions in sorted(gb.glob("%s/*" %x)): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go to link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import |