Commit 05fba73b authored by Arne Gerdes's avatar Arne Gerdes

Neue Kommentare hinzugefügt

parent c4eb2a94
......@@ -8,14 +8,21 @@ logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(name)-12s %(level
filename='logs/sorted_set_facedetector.log',
filemode='w')
emotions = ["happy", "neutral", "surprise"] # Emotionen die verarbeitet werden sollen
"""
Emotionen die verarbeitet werden sollen
"""
emotions = ["happy", "neutral", "surprise"]
totalFiles: int = 0
totalFaces: int = 0
undetected: list = []
def detect_faces(emotion):
files = glob.glob('basis_data/sorted_set/{}/*'.format(emotion)) # Holt alle Dateien zu einer Emotion aus dem sorted_set
"""
Holt alle Dateien zu einer Emotion aus dem sorted_set
"""
files = glob.glob('basis_data/sorted_set/{}/*'.format(emotion))
global undetected
global totalFaces
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment