{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "view-in-github", "colab_type": "text" }, "source": [ "\"Open" ] }, { "cell_type": "markdown", "source": [ "##Preliminaries" ], "metadata": { "id": "UqNpNL9YdW_F" } }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "AstQdmx7ecwk", "collapsed": true }, "outputs": [], "source": [ "%%capture\n", "%mkdir yearbook\n", "%cd yearbook\n", "!pip install --upgrade --no-cache-dir gdown\n", "!gdown --id \"1NHT8NN8ClBEnUC5VqkP3wr2KhyiIQzyU\"\n", "!unzip PHfiles.zip\n", "%mkdir images\n", "!pip install PyMuPDF\n", "!pip install dlib\n", "!pip install DeepFace\n", "import os, shutil, fitz, cv2, numpy as np, pandas as pd, dlib, tensorflow as tf\n", "from os.path import dirname, join\n", "from deepface import DeepFace" ] }, { "cell_type": "markdown", "source": [ "##PDF Conversion" ], "metadata": { "id": "5D4NGWwSdagp" } }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "rhGzknifXosP", "colab": { "base_uri": "https://localhost:8080/" }, "outputId": "b40db119-4e2a-4c94-8250-1ea17ea6d1b6" }, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Now copying images into ./images/1921\n", "Now copying images into ./images/1961\n", "Now copying images into ./images/1931\n", "Now copying images into ./images/1941\n", "Now copying images into ./images/1951\n", "Now copying images into ./images/1911\n" ] } ], "source": [ "path = r'./'\n", "pdfs = [f for f in os.listdir(path) if f.endswith('.pdf')]\n", "for pdf in pdfs:\n", " os.chdir(os.path.join('./images'))\n", " os.mkdir((pdf.split(\".\")[0]))\n", " newdir = (os.path.join('./images/' + os.path.join(pdf.split(\".\")[0])))\n", " os.chdir(\"..\")\n", " print (\"Now copying images into \" + (newdir))\n", " shutil.copy(pdf, newdir)\n", " os.chdir(newdir)\n", " doc = fitz.open(pdf)\n", " for page in doc:\n", " pix = page.get_pixmap()\n", " pix.save(\"page-%i.png\" % page.number)\n", " os.chdir(os.path.dirname(os.getcwd()))\n", " os.chdir(\"..\")\n", "\n" ] }, { "cell_type": "markdown", "source": [ "##Object Detection and Facial Recognition: Code" ], "metadata": { "id": "2jYcnBWodq7V" } }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "92YhmH4AhFR1", "colab": { "base_uri": "https://localhost:8080/" }, "outputId": "bb69661d-fdda-4eb7-bdb4-11d17c5717d7" }, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "New 'faces' directory created in 1961 folder\n", "New 'faces' directory created in 1931 folder\n", "New 'faces' directory created in 1911 folder\n", "New 'faces' directory created in 1921 folder\n", "New 'faces' directory created in 1951 folder\n", "New 'faces' directory created in 1941 folder\n" ] } ], "source": [ "path = r'./'\n", "\n", "os.chdir(os.path.join(path + 'images'))\n", "dirs = os.listdir(path)\n", "for dir in dirs:\n", " os.chdir(os.path.join(path + dir))\n", " pngs = [f for f in os.listdir(path) if f.endswith('.png')]\n", "\n", " if not os.path.exists((dir) + ' faces'):\n", " print(\"New 'faces' directory created in \" + (dir) + \" folder\")\n", " os.makedirs((dir) + ' faces')\n", "\n", " count = 0\n", " for png in pngs:\n", " image = cv2.imread(png)\n", "\n", " greyscale_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)\n", "\n", " face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + \"haarcascade_frontalface_default.xml\")\n", "\n", " detected_faces = face_cascade.detectMultiScale(image=greyscale_image, scaleFactor=1.9, minNeighbors=4)\n", "\n", " count = 0\n", " for (x,y,w,h) in detected_faces:\n", " try:\n", " xpadding = 20\n", " ypadding = 40\n", " crop_face = image[y-ypadding: y + h+ypadding, x-xpadding: x + w+xpadding]\n", " count+=1\n", " face = cv2.rectangle(crop_face,(x,y),(x+w,y+h),(255,0,0),2)\n", " cv2.imwrite(path + (dir) + ' faces/' + str(count) + '_' + png, face)\n", " except (Exception):\n", " print(\"An error happened\")\n", " continue\n", " os.remove(os.path.join(path, png))\n", " os.chdir(\"..\")\n" ] }, { "cell_type": "markdown", "source": [ "##Identify Smiles: Code" ], "metadata": { "id": "ysjW9Atvd00g" } }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "26ben4VqkGwd", "colab": { "base_uri": "https://localhost:8080/" }, "outputId": "d22d37eb-4f1c-4e2e-bdec-690c4ee32349" }, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "/content/yearbook\n", "24-01-31 16:15:20 - facial_expression_model_weights.h5 will be downloaded...\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ "Downloading...\n", "From: https://github.com/serengil/deepface_models/releases/download/v1.0/facial_expression_model_weights.h5\n", "To: /root/.deepface/weights/facial_expression_model_weights.h5\n", "100%|██████████| 5.98M/5.98M [00:00<00:00, 18.6MB/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ "[{'emotion': {'angry': 2.1246447489089073, 'disgust': 1.901664848713893e-08, 'fear': 0.034286557916850396, 'happy': 0.0002512492229182152, 'sad': 4.2414514879642145, 'surprise': 1.7301296109425963e-07, 'neutral': 93.59936194427468}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 51, 'w': 63, 'h': 63}, 'face_confidence': 10.072929168702103}]\n", "[{'emotion': {'angry': 2.7204811573028564, 'disgust': 3.8496024146184027e-07, 'fear': 1.0063357651233673, 'happy': 0.00680559896863997, 'sad': 10.03282368183136, 'surprise': 0.0020465062334551476, 'neutral': 86.23150587081909}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 50, 'w': 65, 'h': 65}, 'face_confidence': 8.167705099273007}]\n", "[{'emotion': {'angry': 0.4706279840320349, 'disgust': 5.386959975317573e-10, 'fear': 1.1910023167729378, 'happy': 0.000255436270890641, 'sad': 22.509941458702087, 'surprise': 5.6404114712194087e-08, 'neutral': 75.82817077636719}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 51, 'w': 65, 'h': 65}, 'face_confidence': 9.6063381160493}]\n", "[{'emotion': {'angry': 0.31714143697172403, 'disgust': 7.941276759446114e-12, 'fear': 0.020388436678331345, 'happy': 5.864576380076869e-07, 'sad': 19.37987059354782, 'surprise': 1.705554968089995e-09, 'neutral': 80.28260469436646}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 50, 'w': 65, 'h': 65}, 'face_confidence': 9.139429102360737}]\n", "[{'emotion': {'angry': 11.266442388296127, 'disgust': 1.0986424443804044e-10, 'fear': 0.03680420632008463, 'happy': 6.0797255230227165e-06, 'sad': 16.50884598493576, 'surprise': 2.14297538048136e-09, 'neutral': 72.18790054321289}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 48, 'w': 64, 'h': 64}, 'face_confidence': 11.457762133039068}]\n", "[{'emotion': {'angry': 1.367568678710978, 'disgust': 0.00016561574362075897, 'fear': 0.7811876945160445, 'happy': 12.975960253236309, 'sad': 1.9082431887533182, 'surprise': 0.11992568166483532, 'neutral': 82.84695046227876}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 12.373736181471031}]\n", "[{'emotion': {'angry': 8.665455132722855, 'disgust': 2.5844704509836447e-05, 'fear': 0.08394850883632898, 'happy': 0.0021509360522031784, 'sad': 11.723734438419342, 'surprise': 7.168196702878049e-06, 'neutral': 79.52467799186707}, 'dominant_emotion': 'neutral', 'region': {'x': 25, 'y': 46, 'w': 75, 'h': 75}, 'face_confidence': 8.09842800203478}]\n", "[{'emotion': {'angry': 0.0330498005496338, 'disgust': 6.538615355671526e-13, 'fear': 0.02090466587105766, 'happy': 0.00010536838317420916, 'sad': 2.617831528186798, 'surprise': 2.720154270718922e-05, 'neutral': 97.32807874679565}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 40, 'w': 48, 'h': 48}, 'face_confidence': 8.34060103126103}]\n", "[{'emotion': {'angry': 89.96495544701548, 'disgust': 5.732453076399947e-07, 'fear': 0.003055058732767365, 'happy': 0.026231086048101548, 'sad': 1.4298222879959517, 'surprise': 1.4853172022792461e-05, 'neutral': 8.575923506970614}, 'dominant_emotion': 'angry', 'region': {'x': 20, 'y': 41, 'w': 42, 'h': 42}, 'face_confidence': 6.829005010367837}]\n", "[{'emotion': {'angry': 0.18505931366235018, 'disgust': 8.469267243071954e-06, 'fear': 28.952136635780334, 'happy': 0.2322495449334383, 'sad': 21.60264104604721, 'surprise': 0.11671901447698474, 'neutral': 48.911187052726746}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 90, 'h': 90}, 'face_confidence': 7.377295072597917}]\n", "[{'emotion': {'angry': 1.1159093119204044, 'disgust': 0.0003573559524738812, 'fear': 8.335452526807785, 'happy': 0.005502005660673603, 'sad': 78.93506288528442, 'surprise': 0.7879091426730156, 'neutral': 10.81981435418129}, 'dominant_emotion': 'sad', 'region': {'x': 21, 'y': 41, 'w': 84, 'h': 84}, 'face_confidence': 5.62356299435487}]\n", "[{'emotion': {'angry': 15.119858086109161, 'disgust': 0.000262483717961004, 'fear': 17.35249012708664, 'happy': 0.008128312765620649, 'sad': 40.611714124679565, 'surprise': 0.06856766995042562, 'neutral': 26.838979125022888}, 'dominant_emotion': 'sad', 'region': {'x': 17, 'y': 37, 'w': 96, 'h': 96}, 'face_confidence': 10.974104181979783}]\n", "[{'emotion': {'angry': 17.499010264873505, 'disgust': 7.565321979985384e-09, 'fear': 0.0004524767064140178, 'happy': 0.24210556875914335, 'sad': 3.3341292291879654, 'surprise': 1.2534459692403743e-06, 'neutral': 78.92429828643799}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 51, 'h': 51}, 'face_confidence': 6.396277112362441}]\n", "[{'emotion': {'angry': 0.9802640415728092, 'disgust': 6.739641733588542e-07, 'fear': 1.2133591808378696, 'happy': 0.19040763145312667, 'sad': 4.018070176243782, 'surprise': 0.00722231125109829, 'neutral': 93.59067678451538}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 37, 'w': 31, 'h': 31}, 'face_confidence': 7.111314190959092}]\n", "[{'emotion': {'angry': 1.6416773200035095, 'disgust': 3.752921529098785e-07, 'fear': 0.1956549473106861, 'happy': 0.24489951319992542, 'sad': 28.213047981262207, 'surprise': 0.0002578372686912189, 'neutral': 69.70446109771729}, 'dominant_emotion': 'neutral', 'region': {'x': 36, 'y': 50, 'w': 62, 'h': 62}, 'face_confidence': 10.083684134238865}]\n", "[{'emotion': {'angry': 30.04118502140045, 'disgust': 0.00018780583559419028, 'fear': 9.959126263856888, 'happy': 0.6617357023060322, 'sad': 22.937920689582825, 'surprise': 0.08301134221255779, 'neutral': 36.3168329000473}, 'dominant_emotion': 'neutral', 'region': {'x': 21, 'y': 42, 'w': 43, 'h': 43}, 'face_confidence': 9.443734073953237}]\n", "[{'emotion': {'angry': 0.030710548162460327, 'disgust': 2.0403906830779306e-05, 'fear': 0.022688139870297164, 'happy': 8.911135047674179, 'sad': 0.4327877890318632, 'surprise': 0.003281169483670965, 'neutral': 90.59937596321106}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 49, 'h': 49}, 'face_confidence': 8.456178057647776}]\n", "[{'emotion': {'angry': 16.91470694033545, 'disgust': 1.5321407279069488e-06, 'fear': 3.584178005705953, 'happy': 0.06096406504670173, 'sad': 74.29426159228454, 'surprise': 0.053925495316490255, 'neutral': 5.09196550202164}, 'dominant_emotion': 'sad', 'region': {'x': 18, 'y': 39, 'w': 49, 'h': 49}, 'face_confidence': 9.78201208304381}]\n", "[{'emotion': {'angry': 20.158739387989044, 'disgust': 0.005278581738821231, 'fear': 24.394677579402924, 'happy': 0.0279199710348621, 'sad': 23.715591430664062, 'surprise': 0.008673645061207935, 'neutral': 31.689125299453735}, 'dominant_emotion': 'neutral', 'region': {'x': 14, 'y': 34, 'w': 99, 'h': 99}, 'face_confidence': 12.386783063120674}]\n", "[{'emotion': {'angry': 0.047912256504767034, 'disgust': 9.653936537170361e-06, 'fear': 0.031599826316711384, 'happy': 36.461659458974566, 'sad': 0.5519188803833056, 'surprise': 0.033253447854165605, 'neutral': 62.873647384264906}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 52, 'h': 52}, 'face_confidence': 9.23434308724245}]\n", "An error happened\n", "[{'emotion': {'angry': 4.066537329094899e-06, 'disgust': 1.9566123591884416e-14, 'fear': 7.818965030992331e-07, 'happy': 92.90425777435303, 'sad': 0.0004836982043343596, 'surprise': 4.273586640124449e-06, 'neutral': 7.095248997211456}, 'dominant_emotion': 'happy', 'region': {'x': 33, 'y': 48, 'w': 60, 'h': 60}, 'face_confidence': 8.983738931303378}]\n", "[{'emotion': {'angry': 0.3155781654641032, 'disgust': 9.355015428980096e-07, 'fear': 6.4515091478824615, 'happy': 0.5153384525328875, 'sad': 6.876081228256226, 'surprise': 0.03529866226017475, 'neutral': 85.80619692802429}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 48, 'w': 67, 'h': 67}, 'face_confidence': 10.385024062532466}]\n", "[{'emotion': {'angry': 0.6239258218556643, 'disgust': 5.923518511634362e-11, 'fear': 0.0005068426162324613, 'happy': 1.3001961463032785e-05, 'sad': 5.268103629350662, 'surprise': 1.802268195794099e-08, 'neutral': 94.10744905471802}, 'dominant_emotion': 'neutral', 'region': {'x': 26, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 8.398158174823038}]\n", "[{'emotion': {'angry': 2.3799060500095948e-05, 'disgust': 2.474185136283613e-10, 'fear': 0.00010816919484568643, 'happy': 35.003265738487244, 'sad': 0.07168137817643583, 'surprise': 2.8171908184049244e-05, 'neutral': 64.92489576339722}, 'dominant_emotion': 'neutral', 'region': {'x': 14, 'y': 35, 'w': 57, 'h': 57}, 'face_confidence': 9.05845206201775}]\n", "[{'emotion': {'angry': 4.627562686800957, 'disgust': 0.0015246413568092976, 'fear': 4.280545562505722, 'happy': 0.09707342251203954, 'sad': 39.376842975616455, 'surprise': 0.017045911226887256, 'neutral': 51.59940719604492}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 45, 'w': 74, 'h': 74}, 'face_confidence': 8.115547031280585}]\n", "[{'emotion': {'angry': 6.470221281051636, 'disgust': 2.0724476357258936e-06, 'fear': 0.42834836058318615, 'happy': 0.033034017542377114, 'sad': 5.932604521512985, 'surprise': 0.0019178172806277871, 'neutral': 87.13387250900269}, 'dominant_emotion': 'neutral', 'region': {'x': 16, 'y': 38, 'w': 53, 'h': 53}, 'face_confidence': 8.064310145273339}]\n", "[{'emotion': {'angry': 0.016482443606946617, 'disgust': 1.5538107689394565e-06, 'fear': 0.05150230717845261, 'happy': 0.8706727996468544, 'sad': 0.4849000833928585, 'surprise': 0.02058045065496117, 'neutral': 98.55586290359497}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 48, 'w': 147, 'h': 147}, 'face_confidence': 9.39722520869691}]\n", "[{'emotion': {'angry': 2.630654349923134, 'disgust': 2.4124993558416463e-06, 'fear': 3.9722569286823273, 'happy': 0.00010787327937578084, 'sad': 86.71320080757141, 'surprise': 0.0007922036274976563, 'neutral': 6.682990491390228}, 'dominant_emotion': 'sad', 'region': {'x': 21, 'y': 43, 'w': 77, 'h': 77}, 'face_confidence': 6.882154191494919}]\n", "[{'emotion': {'angry': 78.7624180316925, 'disgust': 0.00264404861809453, 'fear': 3.8712866604328156, 'happy': 0.5816744174808264, 'sad': 10.755512863397598, 'surprise': 4.908131435513496, 'neutral': 1.1183273047208786}, 'dominant_emotion': 'angry', 'region': {'x': 19, 'y': 36, 'w': 90, 'h': 90}, 'face_confidence': 7.957146118336823}]\n", "[{'emotion': {'angry': 0.03611544810494162, 'disgust': 1.1681543898855285e-11, 'fear': 1.8854040578150313e-05, 'happy': 97.13744487016736, 'sad': 0.01306800414827143, 'surprise': 0.006162987854436455, 'neutral': 2.807195446752959}, 'dominant_emotion': 'happy', 'region': {'x': 15, 'y': 35, 'w': 56, 'h': 56}, 'face_confidence': 10.45135113102151}]\n", "[{'emotion': {'angry': 10.17809706069196, 'disgust': 3.223653906189397e-06, 'fear': 2.5578038090829622, 'happy': 1.720956311664109e-05, 'sad': 77.7017864825471, 'surprise': 2.4394572827709863e-06, 'neutral': 9.562292344843428}, 'dominant_emotion': 'sad', 'region': {'x': 24, 'y': 47, 'w': 72, 'h': 72}, 'face_confidence': 9.730558012786787}]\n", "[{'emotion': {'angry': 0.02282898077079138, 'disgust': 6.9698809263750265e-12, 'fear': 0.10080608734564932, 'happy': 0.03414202831203153, 'sad': 0.1875342810485624, 'surprise': 0.000586518920612245, 'neutral': 99.6540964062099}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 7.066521073167678}]\n", "An error happened\n", "[{'emotion': {'angry': 97.66356335065146, 'disgust': 8.383698312721919e-17, 'fear': 2.5144019921607186e-06, 'happy': 1.6016016135382082e-06, 'sad': 1.462876697652143, 'surprise': 2.2061514409710857e-14, 'neutral': 0.8735622800029683}, 'dominant_emotion': 'angry', 'region': {'x': 28, 'y': 46, 'w': 68, 'h': 68}, 'face_confidence': 6.288568131742068}]\n", "[{'emotion': {'angry': 4.749762639403343, 'disgust': 2.6088122240253142e-05, 'fear': 0.29964412096887827, 'happy': 77.49799489974976, 'sad': 2.6777278631925583, 'surprise': 0.12069568037986755, 'neutral': 14.65415209531784}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 40, 'w': 46, 'h': 46}, 'face_confidence': 9.64491117344005}]\n", "[{'emotion': {'angry': 99.93600248527557, 'disgust': 2.3828053484240287e-07, 'fear': 0.03318383346547436, 'happy': 0.012763078914651742, 'sad': 0.0175282772920276, 'surprise': 1.2412604647230903e-07, 'neutral': 0.0005262071854040443}, 'dominant_emotion': 'angry', 'region': {'x': 28, 'y': 47, 'w': 69, 'h': 69}, 'face_confidence': 9.897201155021321}]\n", "[{'emotion': {'angry': 7.411506026983261, 'disgust': 2.836066315126118e-06, 'fear': 0.2551275072619319, 'happy': 12.986277043819427, 'sad': 2.0852480083703995, 'surprise': 0.05392092280089855, 'neutral': 77.20791697502136}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 39, 'w': 28, 'h': 28}, 'face_confidence': 13.473649070772808}]\n", "An error happened\n", "An error happened\n", "[{'emotion': {'angry': 0.3526274325029512, 'disgust': 1.227871779719685e-05, 'fear': 0.09922447507303804, 'happy': 2.5754611611641147, 'sad': 0.31063740130587825, 'surprise': 0.006954995165690491, 'neutral': 96.6550825032641}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 7.097306105715688}]\n", "[{'emotion': {'angry': 93.497477799203, 'disgust': 0.0007085096870456915, 'fear': 6.455919555888096, 'happy': 1.926294490863172e-05, 'sad': 0.04459302505651564, 'surprise': 0.0002335563712395479, 'neutral': 0.0010577200627778676}, 'dominant_emotion': 'angry', 'region': {'x': 23, 'y': 39, 'w': 165, 'h': 165}, 'face_confidence': 8.108985153841786}]\n", "[{'emotion': {'angry': 0.0029377077157965803, 'disgust': 1.2262817270908266e-05, 'fear': 0.010402958179627846, 'happy': 27.027194322776456, 'sad': 0.2790325953234789, 'surprise': 0.15164338723307175, 'neutral': 72.52877786927091}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 47, 'w': 71, 'h': 71}, 'face_confidence': 13.110631095420104}]\n", "[{'emotion': {'angry': 2.3093806579709053, 'disgust': 0.00018742641714197816, 'fear': 0.015142542542889714, 'happy': 0.05634341505356133, 'sad': 2.4954931810498238, 'surprise': 0.00021118466975167394, 'neutral': 95.12324333190918}, 'dominant_emotion': 'neutral', 'region': {'x': 20, 'y': 39, 'w': 27, 'h': 27}, 'face_confidence': 5.429067090793978}]\n", "[{'emotion': {'angry': 9.263812750577927, 'disgust': 8.829354669614986e-06, 'fear': 4.8689477145671844, 'happy': 0.000611947461948148, 'sad': 24.135585129261017, 'surprise': 3.81535642191011e-05, 'neutral': 61.73099875450134}, 'dominant_emotion': 'neutral', 'region': {'x': 32, 'y': 48, 'w': 63, 'h': 63}, 'face_confidence': 12.532317058532499}]\n", "An error happened\n", "[{'emotion': {'angry': 3.2634205951189283, 'disgust': 0.0008786760962085888, 'fear': 47.9935648448986, 'happy': 0.19350473324898085, 'sad': 37.1220842454333, 'surprise': 0.06797006707622802, 'neutral': 11.358570443562217}, 'dominant_emotion': 'fear', 'region': {'x': 29, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 10.128522079845425}]\n", "[{'emotion': {'angry': 0.01207903551403433, 'disgust': 1.686821917701309e-05, 'fear': 0.042209980892948806, 'happy': 1.3725129887461662, 'sad': 0.35288131330162287, 'surprise': 0.002501711242075544, 'neutral': 98.21779727935791}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 40, 'w': 27, 'h': 27}, 'face_confidence': 6.498018053302076}]\n", "[{'emotion': {'angry': 4.077800363302231, 'disgust': 9.993563310217723e-07, 'fear': 8.518851548433304, 'happy': 0.1847639330662787, 'sad': 58.67356061935425, 'surprise': 0.03929582599084824, 'neutral': 28.505727648735046}, 'dominant_emotion': 'sad', 'region': {'x': 31, 'y': 47, 'w': 66, 'h': 66}, 'face_confidence': 10.758740041812416}]\n", "[{'emotion': {'angry': 6.009272142139418, 'disgust': 0.04062686155062329, 'fear': 55.92006970404748, 'happy': 2.704796617651389, 'sad': 30.663975398066594, 'surprise': 0.051896285365592196, 'neutral': 4.609353290873374}, 'dominant_emotion': 'fear', 'region': {'x': 29, 'y': 46, 'w': 65, 'h': 65}, 'face_confidence': 7.4860450908890925}]\n", "An error happened\n", "[{'emotion': {'angry': 0.21207265090197325, 'disgust': 0.00010057822237286018, 'fear': 0.599934346973896, 'happy': 16.183842718601227, 'sad': 1.5203138813376427, 'surprise': 0.011168650962645188, 'neutral': 81.47256970405579}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 40, 'w': 26, 'h': 26}, 'face_confidence': 5.665356005018111}]\n", "[{'emotion': {'angry': 28.826043009757996, 'disgust': 0.018838759569916874, 'fear': 1.390844862908125, 'happy': 0.015842553693801165, 'sad': 11.220736801624298, 'surprise': 0.0012259952200111002, 'neutral': 58.52646827697754}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 26, 'h': 26}, 'face_confidence': 5.4317450930248015}]\n", "[{'emotion': {'angry': 37.99613416194916, 'disgust': 5.275076091493247e-05, 'fear': 3.1017934903502464, 'happy': 4.007427394390106, 'sad': 44.25341188907623, 'surprise': 0.7394366431981325, 'neutral': 9.901745617389679}, 'dominant_emotion': 'sad', 'region': {'x': 27, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 10.747275222965982}]\n", "[{'emotion': {'angry': 1.5102328732609749, 'disgust': 7.237883892230457e-05, 'fear': 59.27005410194397, 'happy': 0.003513101182761602, 'sad': 35.82145273685455, 'surprise': 0.003105292853433639, 'neutral': 3.3915702253580093}, 'dominant_emotion': 'fear', 'region': {'x': 18, 'y': 38, 'w': 29, 'h': 29}, 'face_confidence': 4.948265048849862}]\n", "[{'emotion': {'angry': 0.1370594371110201, 'disgust': 4.211236159790133e-06, 'fear': 1.5101195313036442, 'happy': 2.1860411390662193, 'sad': 1.073223352432251, 'surprise': 0.002205989403591957, 'neutral': 95.09134888648987}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 40, 'w': 26, 'h': 26}, 'face_confidence': 10.797882997605484}]\n", "[{'emotion': {'angry': 0.7745527196675539, 'disgust': 3.1355202878557975e-06, 'fear': 7.921312004327774, 'happy': 0.0011572195035114419, 'sad': 3.4028273075819016, 'surprise': 0.0019061155398958363, 'neutral': 87.89824843406677}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 26, 'h': 26}, 'face_confidence': 10.10081810731208}]\n", "An error happened\n", "[{'emotion': {'angry': 2.9035743325948715, 'disgust': 0.0012136626537539996, 'fear': 25.04679560661316, 'happy': 1.244484819471836, 'sad': 13.712126016616821, 'surprise': 0.09374931105412543, 'neutral': 56.998056173324585}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 49, 'w': 64, 'h': 64}, 'face_confidence': 9.830797077331226}]\n", "[{'emotion': {'angry': 0.12067584046487922, 'disgust': 7.899718265951494e-05, 'fear': 0.03707857826160452, 'happy': 0.12357240466655438, 'sad': 2.855264800159359, 'surprise': 5.924063519633952e-05, 'neutral': 96.86327017983554}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 12.646170004212763}]\n", "[{'emotion': {'angry': 14.802131998030664, 'disgust': 0.019317860765967188, 'fear': 15.736108246777476, 'happy': 0.028523708645189726, 'sad': 46.98219967312821, 'surprise': 0.09685537680520075, 'neutral': 22.3348504698633}, 'dominant_emotion': 'sad', 'region': {'x': 28, 'y': 48, 'w': 68, 'h': 68}, 'face_confidence': 8.625589105649851}]\n", "[{'emotion': {'angry': 83.6894979291855, 'disgust': 2.0174203511185488e-07, 'fear': 0.00604168307831764, 'happy': 5.900751405999149, 'sad': 1.5638624318756122, 'surprise': 3.8149755141769086e-05, 'neutral': 8.839806696165008}, 'dominant_emotion': 'angry', 'region': {'x': 19, 'y': 39, 'w': 27, 'h': 27}, 'face_confidence': 8.118624990747776}]\n", "[{'emotion': {'angry': 2.9090778902173042, 'disgust': 0.006999065954005346, 'fear': 0.26515519712120295, 'happy': 0.6180115975439548, 'sad': 5.59031181037426, 'surprise': 0.00028324841423454927, 'neutral': 90.61015844345093}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 5.984059032227378}]\n", "[{'emotion': {'angry': 15.831728279590607, 'disgust': 0.001467523725295905, 'fear': 45.27660608291626, 'happy': 6.280584633350372, 'sad': 22.011317312717438, 'surprise': 1.6341673210263252, 'neutral': 8.96412581205368}, 'dominant_emotion': 'fear', 'region': {'x': 30, 'y': 48, 'w': 66, 'h': 66}, 'face_confidence': 7.920364150661044}]\n", "[{'emotion': {'angry': 0.4849462304264307, 'disgust': 6.414458653125621e-05, 'fear': 5.433769524097443, 'happy': 3.150123730301857, 'sad': 4.421740025281906, 'surprise': 0.03509040980134159, 'neutral': 86.4742636680603}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 48, 'w': 69, 'h': 69}, 'face_confidence': 7.517279009858612}]\n", "An error happened\n", "[{'emotion': {'angry': 0.02691443529680731, 'disgust': 3.9650754662927313e-10, 'fear': 0.011054408900655965, 'happy': 0.0004157690702848793, 'sad': 0.19710297939795132, 'surprise': 1.965105084767744e-07, 'neutral': 99.76451395538533}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 12.900756085698958}]\n", "[{'emotion': {'angry': 0.2131422981619835, 'disgust': 0.0005388621502788737, 'fear': 2.381272614002228, 'happy': 8.923093974590302, 'sad': 2.9160501435399055, 'surprise': 0.18142357002943754, 'neutral': 85.38447618484497}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 51, 'w': 64, 'h': 64}, 'face_confidence': 10.599771012028214}]\n", "[{'emotion': {'angry': 97.5816011428833, 'disgust': 3.468303191311861e-05, 'fear': 1.205681636929512, 'happy': 0.03243640239816159, 'sad': 1.0673392564058304, 'surprise': 0.0060049966123187914, 'neutral': 0.10690185008570552}, 'dominant_emotion': 'angry', 'region': {'x': 22, 'y': 42, 'w': 82, 'h': 82}, 'face_confidence': 8.453289115510415}]\n", "[{'emotion': {'angry': 0.012386345770210028, 'disgust': 9.793082261882675e-16, 'fear': 2.4684640442806938e-08, 'happy': 97.18883037567139, 'sad': 6.365681759490371e-07, 'surprise': 1.2771694812840906e-06, 'neutral': 2.7987832203507423}, 'dominant_emotion': 'happy', 'region': {'x': 35, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 6.330868055287283}]\n", "[{'emotion': {'angry': 1.6892154776582406, 'disgust': 0.02614205451504466, 'fear': 97.15902788394855, 'happy': 0.11628561880651825, 'sad': 0.120897842792293, 'surprise': 0.001046458299770794, 'neutral': 0.8873886957698283}, 'dominant_emotion': 'fear', 'region': {'x': 14, 'y': 34, 'w': 103, 'h': 103}, 'face_confidence': 9.527531113883015}]\n", "[{'emotion': {'angry': 20.69704383611679, 'disgust': 0.004085946784471162, 'fear': 6.273727118968964, 'happy': 0.1067554927431047, 'sad': 20.80700695514679, 'surprise': 0.06826529279351234, 'neutral': 52.043116092681885}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 27, 'h': 27}, 'face_confidence': 12.12679399451008}]\n", "[{'emotion': {'angry': 1.935800351202488, 'disgust': 0.0006683415904262802, 'fear': 11.01374700665474, 'happy': 0.2553832484409213, 'sad': 8.573266118764877, 'surprise': 0.010528683924349025, 'neutral': 78.2106101512909}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 48, 'w': 65, 'h': 65}, 'face_confidence': 9.976641035580542}]\n", "[{'emotion': {'angry': 0.03985888562255416, 'disgust': 5.916786347154366e-06, 'fear': 0.11519463255298927, 'happy': 49.41093322103818, 'sad': 0.12216775940613504, 'surprise': 0.000152973470926799, 'neutral': 50.31168760726974}, 'dominant_emotion': 'neutral', 'region': {'x': 20, 'y': 39, 'w': 89, 'h': 89}, 'face_confidence': 10.19285019102972}]\n", "[{'emotion': {'angry': 0.43663717806339264, 'disgust': 84.74792242050171, 'fear': 2.340315468609333, 'happy': 0.05548715125769377, 'sad': 0.004707305924966931, 'surprise': 11.013545095920563, 'neutral': 1.4013825915753841}, 'dominant_emotion': 'disgust', 'region': {'x': 14, 'y': 38, 'w': 97, 'h': 97}, 'face_confidence': 7.416087111807428}]\n", "[{'emotion': {'angry': 49.81281757354736, 'disgust': 0.0012748024346365128, 'fear': 0.6925639230757952, 'happy': 0.005229875387158245, 'sad': 31.041067838668823, 'surprise': 0.01317182759521529, 'neutral': 18.43387484550476}, 'dominant_emotion': 'angry', 'region': {'x': 29, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 9.71850298618665}]\n", "[{'emotion': {'angry': 12.176532298326492, 'disgust': 2.9604223072965397e-05, 'fear': 0.4828001372516155, 'happy': 1.733652502298355, 'sad': 4.067515954375267, 'surprise': 0.11327381944283843, 'neutral': 81.42619729042053}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 47, 'w': 66, 'h': 66}, 'face_confidence': 9.576397023978643}]\n", "[{'emotion': {'angry': 0.018889222701545805, 'disgust': 1.9476862789247207e-06, 'fear': 0.1329639577306807, 'happy': 18.73377561569214, 'sad': 2.335873059928417, 'surprise': 0.005091700222692452, 'neutral': 78.77340316772461}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 26, 'h': 26}, 'face_confidence': 6.690781067532953}]\n", "[{'emotion': {'angry': 68.8789963722229, 'disgust': 0.9989338926970959, 'fear': 9.567178040742874, 'happy': 0.29185821767896414, 'sad': 11.615436524152756, 'surprise': 5.565708875656128, 'neutral': 3.081888146698475}, 'dominant_emotion': 'angry', 'region': {'x': 31, 'y': 48, 'w': 65, 'h': 65}, 'face_confidence': 6.935830085247289}]\n", "[{'emotion': {'angry': 6.024424386093093, 'disgust': 0.16136401504781664, 'fear': 8.965508316098653, 'happy': 5.072965613250063, 'sad': 9.418295691216505, 'surprise': 0.036889400475804454, 'neutral': 70.3205501651108}, 'dominant_emotion': 'neutral', 'region': {'x': 17, 'y': 37, 'w': 29, 'h': 29}, 'face_confidence': 8.297468990494963}]\n", "[{'emotion': {'angry': 0.20681449677795172, 'disgust': 0.0012406667337927502, 'fear': 2.5892728939652443, 'happy': 0.00040865315895644017, 'sad': 96.95143103599548, 'surprise': 1.1224106799545552e-05, 'neutral': 0.2508217468857765}, 'dominant_emotion': 'sad', 'region': {'x': 18, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 9.075113009836059}]\n", "[{'emotion': {'angry': 2.261977456510067, 'disgust': 0.0006638560535066063, 'fear': 3.0138112604618073, 'happy': 1.1409169062972069, 'sad': 8.662191778421402, 'surprise': 0.04946607514284551, 'neutral': 84.8709762096405}, 'dominant_emotion': 'neutral', 'region': {'x': 17, 'y': 38, 'w': 29, 'h': 29}, 'face_confidence': 7.625763114483561}]\n", "[{'emotion': {'angry': 32.680702209472656, 'disgust': 0.25115846656262875, 'fear': 39.073893427848816, 'happy': 0.022800230362918228, 'sad': 22.609233856201172, 'surprise': 0.024836213560774922, 'neutral': 5.337376520037651}, 'dominant_emotion': 'fear', 'region': {'x': 19, 'y': 40, 'w': 87, 'h': 87}, 'face_confidence': 7.211510061461013}]\n", "[{'emotion': {'angry': 0.0012340612556727137, 'disgust': 1.638149060845251e-07, 'fear': 0.06767426966689527, 'happy': 0.0013674385627382435, 'sad': 0.5458600353449583, 'surprise': 5.112254797268179e-06, 'neutral': 99.38386082649231}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 48, 'w': 70, 'h': 70}, 'face_confidence': 11.12442209373694}]\n", "[{'emotion': {'angry': 0.0019957338736276142, 'disgust': 1.2670626858835021e-05, 'fear': 0.004208557584206574, 'happy': 2.3380864411592484, 'sad': 0.004299687498132698, 'surprise': 0.006352338823489845, 'neutral': 97.6450502872467}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 37, 'w': 91, 'h': 91}, 'face_confidence': 6.584761923702899}]\n", "[{'emotion': {'angry': 0.05109196645207703, 'disgust': 7.261513439160705e-10, 'fear': 0.021482996817212552, 'happy': 7.1531035006046295, 'sad': 0.023918479564599693, 'surprise': 0.006313135236268863, 'neutral': 92.74409413337708}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 26, 'h': 26}, 'face_confidence': 5.586656047671568}]\n", "[{'emotion': {'angry': 1.2346276853246376e-12, 'disgust': 6.523926134307867e-20, 'fear': 3.933810530670919e-14, 'happy': 99.98505115509033, 'sad': 3.6142566803981646e-10, 'surprise': 9.08635688391668e-11, 'neutral': 0.014951045159250498}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 49, 'w': 71, 'h': 71}, 'face_confidence': 12.330670971539803}]\n", "[{'emotion': {'angry': 1.5637529981497587e-07, 'disgust': 1.2180163160199797e-08, 'fear': 0.029870409669080954, 'happy': 99.9654114225752, 'sad': 2.2608343212855635e-06, 'surprise': 0.00012707943899684153, 'neutral': 0.004592621099602199}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 47, 'w': 66, 'h': 66}, 'face_confidence': 9.240726004063617}]\n", "[{'emotion': {'angry': 0.6492943424310889, 'disgust': 0.0013304002888518093, 'fear': 32.66366616866983, 'happy': 7.607549882385127, 'sad': 11.594798361945054, 'surprise': 0.03518266230979039, 'neutral': 47.448178973685444}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 41, 'w': 87, 'h': 87}, 'face_confidence': 11.421136189892422}]\n", "[{'emotion': {'angry': 0.3085659584030509, 'disgust': 0.0006982418199186213, 'fear': 1.306278444826603, 'happy': 2.2729821503162384, 'sad': 6.510592997074127, 'surprise': 0.00651036316412501, 'neutral': 89.59437012672424}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 10.124053042731248}]\n", "[{'emotion': {'angry': 18.97897237413957, 'disgust': 7.565822553109453e-05, 'fear': 1.50725245146468, 'happy': 11.305531788202035, 'sad': 10.13158098647481, 'surprise': 0.060933214984578786, 'neutral': 58.01565396879041}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 50, 'w': 62, 'h': 62}, 'face_confidence': 9.072417028888594}]\n", "[{'emotion': {'angry': 0.00016966270095508662, 'disgust': 3.8672758329028056e-07, 'fear': 1.6429905258519284e-05, 'happy': 9.273837506771088, 'sad': 9.989623777073575e-05, 'surprise': 5.144740744533749e-08, 'neutral': 90.72587490081787}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 39, 'w': 93, 'h': 93}, 'face_confidence': 10.796872125589289}]\n", "[{'emotion': {'angry': 0.015439186245203018, 'disgust': 8.824821601461725e-20, 'fear': 3.5947506082933955e-08, 'happy': 96.4819073677063, 'sad': 1.6437489591680787e-05, 'surprise': 4.4907797480675526e-07, 'neutral': 3.502635657787323}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 39, 'w': 87, 'h': 87}, 'face_confidence': 11.489704146864824}]\n", "[{'emotion': {'angry': 0.13890588397164536, 'disgust': 1.1831112100728637e-05, 'fear': 97.4977615478323, 'happy': 1.5667947004086136, 'sad': 0.433318172148684, 'surprise': 0.0007865940432562143, 'neutral': 0.36241517272857754}, 'dominant_emotion': 'fear', 'region': {'x': 25, 'y': 47, 'w': 78, 'h': 78}, 'face_confidence': 5.9246460237773135}]\n", "[{'emotion': {'angry': 15.133540332317352, 'disgust': 1.1590027071406439e-05, 'fear': 0.3703690832480788, 'happy': 0.036375876516103745, 'sad': 9.327849000692368, 'surprise': 0.00972853522398509, 'neutral': 75.1221239566803}, 'dominant_emotion': 'neutral', 'region': {'x': 25, 'y': 45, 'w': 73, 'h': 73}, 'face_confidence': 9.430411045555957}]\n", "[{'emotion': {'angry': 3.223721677515605e-12, 'disgust': 2.4632005965008222e-15, 'fear': 4.417980196090576e-11, 'happy': 99.99923706054688, 'sad': 1.4164081019174546e-08, 'surprise': 8.599846529344646e-10, 'neutral': 0.0007688041478104424}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 49, 'w': 64, 'h': 64}, 'face_confidence': 9.551124059944414}]\n", "[{'emotion': {'angry': 8.305324761259669e-08, 'disgust': 9.81809103372745e-19, 'fear': 4.254588868712883e-10, 'happy': 30.870836973190308, 'sad': 9.185027849412108e-07, 'surprise': 1.3950441690724347e-06, 'neutral': 69.12916302680969}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 6.961082076828461}]\n", "[{'emotion': {'angry': 42.81053628795907, 'disgust': 0.19965663034836884, 'fear': 7.78089594472695, 'happy': 0.14284704273154822, 'sad': 24.168773094561924, 'surprise': 11.994927436718054, 'neutral': 12.902355146127325}, 'dominant_emotion': 'angry', 'region': {'x': 18, 'y': 37, 'w': 90, 'h': 90}, 'face_confidence': 7.779491031251382}]\n", "[{'emotion': {'angry': 0.008000569505384192, 'disgust': 1.076338931177423e-09, 'fear': 41.77324175834656, 'happy': 7.72608146071434, 'sad': 0.5962178111076355, 'surprise': 0.3114710561931133, 'neutral': 49.58499073982239}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 48, 'w': 74, 'h': 74}, 'face_confidence': 10.07111694937339}]\n", "[{'emotion': {'angry': 1.6054553911089897, 'disgust': 7.192165973890496e-07, 'fear': 0.11803129455074668, 'happy': 2.209402620792389, 'sad': 0.05820331862196326, 'surprise': 0.06143232458271086, 'neutral': 95.94747424125671}, 'dominant_emotion': 'neutral', 'region': {'x': 20, 'y': 41, 'w': 84, 'h': 84}, 'face_confidence': 7.405652047076728}]\n", "[{'emotion': {'angry': 0.0002270310687890742, 'disgust': 1.602195210271412e-11, 'fear': 0.06333451019600034, 'happy': 0.3942557144910097, 'sad': 37.351688742637634, 'surprise': 0.0041992923797806725, 'neutral': 62.18629479408264}, 'dominant_emotion': 'neutral', 'region': {'x': 21, 'y': 41, 'w': 84, 'h': 84}, 'face_confidence': 7.369627109670546}]\n", "[{'emotion': {'angry': 20.57238519191742, 'disgust': 0.0011782929504988715, 'fear': 1.4196548610925674, 'happy': 0.04576117789838463, 'sad': 35.16290783882141, 'surprise': 0.01949328725459054, 'neutral': 42.7786260843277}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 49, 'w': 68, 'h': 68}, 'face_confidence': 9.827416066895239}]\n", "[{'emotion': {'angry': 23.745344579219818, 'disgust': 0.1904363976791501, 'fear': 68.3361828327179, 'happy': 0.6436874158680439, 'sad': 7.027813792228699, 'surprise': 0.008096151577774435, 'neutral': 0.04843438800889999}, 'dominant_emotion': 'fear', 'region': {'x': 22, 'y': 41, 'w': 82, 'h': 82}, 'face_confidence': 10.79568513756385}]\n", "[{'emotion': {'angry': 0.6390752270817757, 'disgust': 0.0032674124668119475, 'fear': 27.029812335968018, 'happy': 68.69949698448181, 'sad': 2.6432689279317856, 'surprise': 0.054208701476454735, 'neutral': 0.9308680891990662}, 'dominant_emotion': 'happy', 'region': {'x': 22, 'y': 44, 'w': 81, 'h': 81}, 'face_confidence': 9.945001024694648}]\n", "[{'emotion': {'angry': 0.07244563894346356, 'disgust': 6.804939403082244e-05, 'fear': 49.49510097503662, 'happy': 2.8511378914117813, 'sad': 1.9258162006735802, 'surprise': 0.004480029019759968, 'neutral': 45.65094709396362}, 'dominant_emotion': 'fear', 'region': {'x': 24, 'y': 44, 'w': 78, 'h': 78}, 'face_confidence': 9.982349146564957}]\n", "[{'emotion': {'angry': 41.44488820105125, 'disgust': 0.013385450508602738, 'fear': 2.5970967171845865, 'happy': 0.41706988279938, 'sad': 35.535850258818286, 'surprise': 1.3110957889912003, 'neutral': 18.680622797049452}, 'dominant_emotion': 'angry', 'region': {'x': 19, 'y': 41, 'w': 88, 'h': 88}, 'face_confidence': 9.822642073675524}]\n", "[{'emotion': {'angry': 2.704837148179838, 'disgust': 0.006175434468526212, 'fear': 4.399376252256409, 'happy': 1.0175455036786498, 'sad': 15.571447644916036, 'surprise': 0.2642785356508813, 'neutral': 76.03633856989971}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 49, 'w': 64, 'h': 64}, 'face_confidence': 9.940267110883724}]\n", "[{'emotion': {'angry': 2.647598832845688, 'disgust': 6.264000376177137e-05, 'fear': 0.08488082676194608, 'happy': 7.814055681228638, 'sad': 2.5552816689014435, 'surprise': 0.04959168145433068, 'neutral': 86.84852719306946}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 90, 'h': 90}, 'face_confidence': 8.492688032740261}]\n", "[{'emotion': {'angry': 1.3476700393956924, 'disgust': 0.0036462241395920003, 'fear': 0.9592271981672763, 'happy': 0.018717306035484733, 'sad': 10.965410528505476, 'surprise': 0.00292494623107748, 'neutral': 86.7024056138042}, 'dominant_emotion': 'neutral', 'region': {'x': 33, 'y': 48, 'w': 62, 'h': 62}, 'face_confidence': 10.429198119905777}]\n", "[{'emotion': {'angry': 3.178762426614412e-05, 'disgust': 3.1059228522423155e-07, 'fear': 0.0005038740710006095, 'happy': 98.07661771774292, 'sad': 0.0060480204410851, 'surprise': 0.0003443927425905713, 'neutral': 1.9164545461535454}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 49, 'w': 67, 'h': 67}, 'face_confidence': 11.270146926050074}]\n", "An error happened\n", "[{'emotion': {'angry': 2.392898028445479, 'disgust': 0.04073939731843503, 'fear': 76.82794608736681, 'happy': 0.1256961458464091, 'sad': 11.043505544244582, 'surprise': 0.12093026612040209, 'neutral': 9.448283529486236}, 'dominant_emotion': 'fear', 'region': {'x': 16, 'y': 35, 'w': 97, 'h': 97}, 'face_confidence': 10.160710135125555}]\n", "[{'emotion': {'angry': 2.4953859677450696, 'disgust': 0.01355580882155939, 'fear': 92.54791825438521, 'happy': 0.10543429432847568, 'sad': 2.803669163147311, 'surprise': 1.301449568396858, 'neutral': 0.7325807644330544}, 'dominant_emotion': 'fear', 'region': {'x': 21, 'y': 39, 'w': 86, 'h': 86}, 'face_confidence': 6.093677990022115}]\n", "An error happened\n", "[{'emotion': {'angry': 67.53751635551453, 'disgust': 1.0351012460887432, 'fear': 12.0382621884346, 'happy': 0.09781984845176339, 'sad': 11.599913984537125, 'surprise': 0.11595458490774035, 'neutral': 7.57543221116066}, 'dominant_emotion': 'angry', 'region': {'x': 20, 'y': 41, 'w': 85, 'h': 85}, 'face_confidence': 6.907639953016769}]\n", "[{'emotion': {'angry': 0.009522825552346964, 'disgust': 3.860528121393009e-11, 'fear': 0.11946724974168836, 'happy': 0.027369913180986832, 'sad': 0.7883451417592252, 'surprise': 0.1517357278718488, 'neutral': 98.90356057307486}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 37, 'w': 89, 'h': 89}, 'face_confidence': 2.5526299909106456}]\n", "[{'emotion': {'angry': 1.484240312129259, 'disgust': 1.7210336977768748e-05, 'fear': 0.1011535176075995, 'happy': 9.520132094621658, 'sad': 3.5111751407384872, 'surprise': 0.00824549570097588, 'neutral': 85.37503480911255}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 48, 'w': 67, 'h': 67}, 'face_confidence': 10.788789997750428}, {'emotion': {'angry': 5.683906715149088, 'disgust': 0.007171713214125154, 'fear': 45.82355891606563, 'happy': 47.59328947027263, 'sad': 0.023880178891896687, 'surprise': 0.004667123272033305, 'neutral': 0.8635286756472991}, 'dominant_emotion': 'happy', 'region': {'x': 34, 'y': 74, 'w': 58, 'h': 58}, 'face_confidence': 2.3129389240057208}]\n", "[{'emotion': {'angry': 0.10730071111163961, 'disgust': 1.2235835773685298e-05, 'fear': 0.2529317211590146, 'happy': 81.45677668371478, 'sad': 0.10611272781861093, 'surprise': 0.013927684426080802, 'neutral': 18.062932126172527}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 52, 'w': 64, 'h': 64}, 'face_confidence': 9.565974968369119}]\n", "An error happened\n", "[{'emotion': {'angry': 0.007976676939068965, 'disgust': 1.2346785067369693e-07, 'fear': 7.582383016631963, 'happy': 0.028736953906091024, 'sad': 0.0002272891877430524, 'surprise': 92.38065986402748, 'neutral': 1.7168350211968572e-05}, 'dominant_emotion': 'surprise', 'region': {'x': 22, 'y': 42, 'w': 84, 'h': 84}, 'face_confidence': 8.609048097103368}]\n", "[{'emotion': {'angry': 1.3755741529166698, 'disgust': 0.001086472639144631, 'fear': 0.5207787733525038, 'happy': 1.8291305750608444, 'sad': 2.3070989176630974, 'surprise': 0.006952758849365637, 'neutral': 93.95937919616699}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 26, 'h': 26}, 'face_confidence': 7.298140021914151}]\n", "[{'emotion': {'angry': 21.602827310562134, 'disgust': 0.014481888501904905, 'fear': 2.4713920429348946, 'happy': 2.8296463191509247, 'sad': 9.126485139131546, 'surprise': 2.0214688032865524, 'neutral': 61.93370223045349}, 'dominant_emotion': 'neutral', 'region': {'x': 21, 'y': 42, 'w': 84, 'h': 84}, 'face_confidence': 11.577583044418134}]\n", "[{'emotion': {'angry': 0.3381127957254648, 'disgust': 0.00010280449487254373, 'fear': 0.0235745741520077, 'happy': 89.47779536247253, 'sad': 0.15674402238801122, 'surprise': 0.013365987979341298, 'neutral': 9.990307688713074}, 'dominant_emotion': 'happy', 'region': {'x': 19, 'y': 39, 'w': 27, 'h': 27}, 'face_confidence': 6.17465897713555}]\n", "[{'emotion': {'angry': 5.402446910738945, 'disgust': 1.0572755826387947e-05, 'fear': 0.050671439385041595, 'happy': 0.01952407183125615, 'sad': 7.482454925775528, 'surprise': 0.005346907346392982, 'neutral': 87.03954219818115}, 'dominant_emotion': 'neutral', 'region': {'x': 21, 'y': 42, 'w': 82, 'h': 82}, 'face_confidence': 8.230875019391533}]\n", "[{'emotion': {'angry': 0.0061675491375417545, 'disgust': 1.525403579795179e-09, 'fear': 5.555822232770214e-05, 'happy': 70.06981729628833, 'sad': 2.7974399197173216, 'surprise': 4.0128370860924564e-05, 'neutral': 27.126472934904942}, 'dominant_emotion': 'happy', 'region': {'x': 26, 'y': 47, 'w': 74, 'h': 74}, 'face_confidence': 8.164121001434978}]\n", "[{'emotion': {'angry': 2.340676479277731e-17, 'disgust': 3.189331603323964e-33, 'fear': 0.0009741497377416428, 'happy': 52.40947916564221, 'sad': 0.00859687039647224, 'surprise': 3.994909499908844e-12, 'neutral': 47.58095428830113}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 50, 'w': 65, 'h': 65}, 'face_confidence': 8.912824021594133}]\n", "[{'emotion': {'angry': 0.8795994333922863, 'disgust': 4.399191844139949e-08, 'fear': 2.679562009871006, 'happy': 1.1572901924966628e-10, 'sad': 0.0027157140721101314, 'surprise': 7.856635342307072e-07, 'neutral': 96.43812775611877}, 'dominant_emotion': 'neutral', 'region': {'x': 16, 'y': 40, 'w': 90, 'h': 90}, 'face_confidence': 5.69524211960379}]\n", "[{'emotion': {'angry': 45.41765126095124, 'disgust': 9.654262409851973e-08, 'fear': 0.020677102797976302, 'happy': 0.09186318458918838, 'sad': 1.5713128266520993, 'surprise': 0.18681505411506022, 'neutral': 52.71168069313053}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 48, 'w': 68, 'h': 68}, 'face_confidence': 8.666327091341373}]\n", "[{'emotion': {'angry': 22.519369423389435, 'disgust': 4.680335149168968, 'fear': 2.164261043071747, 'happy': 17.767997086048126, 'sad': 10.82044169306755, 'surprise': 0.22378982976078987, 'neutral': 41.82380437850952}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 45, 'w': 69, 'h': 69}, 'face_confidence': 9.069739096739795}]\n", "[{'emotion': {'angry': 2.5967204943299294, 'disgust': 2.9195444994911668e-05, 'fear': 0.7580331526696682, 'happy': 7.731668651103973, 'sad': 0.8754817768931389, 'surprise': 0.3671013982966542, 'neutral': 87.67096996307373}, 'dominant_emotion': 'neutral', 'region': {'x': 20, 'y': 39, 'w': 87, 'h': 87}, 'face_confidence': 10.643792093440425}]\n", "[{'emotion': {'angry': 21.481048641329842, 'disgust': 3.3453316807496906e-11, 'fear': 0.4993242341219466, 'happy': 0.10497403651166397, 'sad': 0.947864559783287, 'surprise': 0.021238073153396476, 'neutral': 76.94555246180921}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 49, 'w': 65, 'h': 65}, 'face_confidence': 10.814682005846407}]\n", "[{'emotion': {'angry': 0.0030534611141774803, 'disgust': 1.2619016942494454e-07, 'fear': 0.0017015325283864513, 'happy': 97.0267653465271, 'sad': 0.0022268170141614974, 'surprise': 0.00558239953534212, 'neutral': 2.9606692492961884}, 'dominant_emotion': 'happy', 'region': {'x': 27, 'y': 47, 'w': 71, 'h': 71}, 'face_confidence': 9.486854071146809}]\n", "[{'emotion': {'angry': 11.351960897445679, 'disgust': 0.0002811880449371529, 'fear': 0.9591649286448956, 'happy': 0.044409805559553206, 'sad': 19.317637383937836, 'surprise': 0.0163431279361248, 'neutral': 68.31020712852478}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 89, 'h': 89}, 'face_confidence': 9.135375051235314}]\n", "[{'emotion': {'angry': 1.7769043461623397, 'disgust': 2.7188726136810472e-05, 'fear': 96.16773105667419, 'happy': 0.001855734009602551, 'sad': 1.8916486958651957, 'surprise': 0.01555871805945221, 'neutral': 0.1462782587500369}, 'dominant_emotion': 'fear', 'region': {'x': 25, 'y': 46, 'w': 72, 'h': 72}, 'face_confidence': 4.5774840013473295}]\n", "[{'emotion': {'angry': 65.56962542895968, 'disgust': 0.06015098635170026, 'fear': 2.806411162744622, 'happy': 0.005764824567807331, 'sad': 23.240545601779747, 'surprise': 0.027237945714539802, 'neutral': 8.290255571573308}, 'dominant_emotion': 'angry', 'region': {'x': 19, 'y': 40, 'w': 88, 'h': 88}, 'face_confidence': 8.90569800126832}]\n", "[{'emotion': {'angry': 0.011116167297586799, 'disgust': 2.781380032956804e-05, 'fear': 0.12102298205718398, 'happy': 8.5097536444664, 'sad': 1.516361627727747, 'surprise': 0.0072054135671351105, 'neutral': 89.83451724052429}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 40, 'w': 28, 'h': 28}, 'face_confidence': 6.895612158521544}]\n", "[{'emotion': {'angry': 28.4477561712265, 'disgust': 0.00018108216863765847, 'fear': 0.48413570038974285, 'happy': 0.035000170464627445, 'sad': 17.665691673755646, 'surprise': 0.00850020078360103, 'neutral': 53.358739614486694}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 51, 'w': 69, 'h': 69}, 'face_confidence': 10.356479065667372}]\n", "[{'emotion': {'angry': 49.158698270243306, 'disgust': 0.7622373744688853, 'fear': 2.772566096339589, 'happy': 1.0806351612886882, 'sad': 10.207798940408166, 'surprise': 0.036539477145789694, 'neutral': 35.98153209576202}, 'dominant_emotion': 'angry', 'region': {'x': 31, 'y': 50, 'w': 63, 'h': 63}, 'face_confidence': 7.52277207019506}]\n", "[{'emotion': {'angry': 59.58112833387425, 'disgust': 8.188613992250799, 'fear': 30.859370878897362, 'happy': 0.06962179737705275, 'sad': 1.215853707692248, 'surprise': 0.001148429396620003, 'neutral': 0.08426543711031599}, 'dominant_emotion': 'angry', 'region': {'x': 23, 'y': 39, 'w': 157, 'h': 157}, 'face_confidence': 8.15150997316232}]\n", "[{'emotion': {'angry': 18.690048896080125, 'disgust': 4.3210779811236835, 'fear': 44.384502695143546, 'happy': 3.0086736987440226, 'sad': 13.562078900585043, 'surprise': 0.5547769097717893, 'neutral': 15.478840825419525}, 'dominant_emotion': 'fear', 'region': {'x': 28, 'y': 49, 'w': 67, 'h': 67}, 'face_confidence': 9.109836987394374}]\n", "[{'emotion': {'angry': 3.1469888985157013, 'disgust': 1.1963915969026573e-08, 'fear': 0.018216128228232265, 'happy': 0.041978422086685896, 'sad': 1.7606927081942558, 'surprise': 0.005269616303849034, 'neutral': 95.0268566608429}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 40, 'w': 88, 'h': 88}, 'face_confidence': 8.221935054694768}]\n", "[{'emotion': {'angry': 0.0008563006192734658, 'disgust': 1.3165857458504536e-09, 'fear': 99.65728525432525, 'happy': 1.454785895964099e-06, 'sad': 0.3416280553411775, 'surprise': 2.4872922976027203e-08, 'neutral': 0.00022419444177502204}, 'dominant_emotion': 'fear', 'region': {'x': 31, 'y': 49, 'w': 65, 'h': 65}, 'face_confidence': 7.4448990530218}]\n", "[{'emotion': {'angry': 0.008524626173311844, 'disgust': 8.864190270685413e-07, 'fear': 0.001923462150443811, 'happy': 61.3726019859314, 'sad': 0.10104045504704118, 'surprise': 0.013677430979441851, 'neutral': 38.50223124027252}, 'dominant_emotion': 'happy', 'region': {'x': 19, 'y': 39, 'w': 26, 'h': 26}, 'face_confidence': 8.11569503688952}]\n", "[{'emotion': {'angry': 22.423240542411804, 'disgust': 0.0004937568519380875, 'fear': 2.6259655132889748, 'happy': 3.799353912472725, 'sad': 6.143985316157341, 'surprise': 0.03500776074361056, 'neutral': 64.97195959091187}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 50, 'w': 145, 'h': 145}, 'face_confidence': 11.9299300731509}]\n", "[{'emotion': {'angry': 57.841575145721436, 'disgust': 0.07557867793366313, 'fear': 1.5567596070468426, 'happy': 4.540019854903221, 'sad': 5.047095939517021, 'surprise': 0.2823254792019725, 'neutral': 30.65665066242218}, 'dominant_emotion': 'angry', 'region': {'x': 28, 'y': 51, 'w': 64, 'h': 64}, 'face_confidence': 11.408623036171775}]\n", "[{'emotion': {'angry': 12.939727306365967, 'disgust': 0.002668989145604428, 'fear': 1.053730957210064, 'happy': 0.07629773463122547, 'sad': 11.988729983568192, 'surprise': 0.02974620438180864, 'neutral': 73.90909790992737}, 'dominant_emotion': 'neutral', 'region': {'x': 17, 'y': 36, 'w': 32, 'h': 32}, 'face_confidence': 7.008589916571509}]\n", "[{'emotion': {'angry': 7.292220240426965e-06, 'disgust': 1.5573918084175588e-08, 'fear': 0.00017577990458440747, 'happy': 93.88483726291878, 'sad': 0.0037462092636920447, 'surprise': 0.002146164425222225, 'neutral': 6.109081945364591}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 48, 'w': 65, 'h': 65}, 'face_confidence': 7.554228012857493}]\n", "[{'emotion': {'angry': 2.7053005497108157e-07, 'disgust': 6.419563559295196e-08, 'fear': 0.0035376600283705782, 'happy': 99.89222289416517, 'sad': 7.468769032178448e-05, 'surprise': 6.75723005821632e-06, 'neutral': 0.10414865023360846}, 'dominant_emotion': 'happy', 'region': {'x': 16, 'y': 40, 'w': 91, 'h': 91}, 'face_confidence': 10.85774705762742}]\n", "[{'emotion': {'angry': 3.5776734352111816, 'disgust': 0.0041676132241263986, 'fear': 1.9850581884384155, 'happy': 0.05407586577348411, 'sad': 38.03209066390991, 'surprise': 0.00900626037037, 'neutral': 56.337928771972656}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 50, 'w': 64, 'h': 64}, 'face_confidence': 8.880641976487823}]\n", "[{'emotion': {'angry': 4.780515283346176, 'disgust': 5.439793948625038e-07, 'fear': 0.13055986491963267, 'happy': 0.015803003043401986, 'sad': 10.672225058078766, 'surprise': 5.086224632577796e-05, 'neutral': 84.40085053443909}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 92, 'h': 92}, 'face_confidence': 9.097316033090465}]\n", "[{'emotion': {'angry': 1.3515027239918709, 'disgust': 0.005110106940264814, 'fear': 3.5001087933778763, 'happy': 38.563182950019836, 'sad': 0.9484041482210159, 'surprise': 0.02089048648485914, 'neutral': 55.61079978942871}, 'dominant_emotion': 'neutral', 'region': {'x': 21, 'y': 43, 'w': 81, 'h': 81}, 'face_confidence': 9.687125070835464}]\n", "[{'emotion': {'angry': 58.34000110626221, 'disgust': 1.9552343744067002e-06, 'fear': 0.021683875820599496, 'happy': 0.19800234586000443, 'sad': 1.2424231506884098, 'surprise': 0.02697364252526313, 'neutral': 40.17091989517212}, 'dominant_emotion': 'angry', 'region': {'x': 29, 'y': 50, 'w': 63, 'h': 63}, 'face_confidence': 6.931728987197857}]\n", "[{'emotion': {'angry': 80.08266924826273, 'disgust': 0.7545643517894326, 'fear': 7.955974137070878, 'happy': 3.973611715601478, 'sad': 7.084258546321565, 'surprise': 0.06675381814642928, 'neutral': 0.08215963210311447}, 'dominant_emotion': 'angry', 'region': {'x': 29, 'y': 51, 'w': 65, 'h': 65}, 'face_confidence': 7.027707998582628}]\n", "[{'emotion': {'angry': 4.7369019817722346e-08, 'disgust': 1.1110940127229504e-14, 'fear': 1.198832179361009e-09, 'happy': 99.80286955833435, 'sad': 3.267405901397069e-07, 'surprise': 5.316988169190573e-09, 'neutral': 0.19713356159627438}, 'dominant_emotion': 'happy', 'region': {'x': 32, 'y': 45, 'w': 65, 'h': 65}, 'face_confidence': 10.109455018653534}]\n", "[{'emotion': {'angry': 0.3875119607909871, 'disgust': 0.006912245686182238, 'fear': 11.400338876287803, 'happy': 0.4134428714594688, 'sad': 23.82983253357798, 'surprise': 0.009195314128417715, 'neutral': 63.95276951226825}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 49, 'w': 67, 'h': 67}, 'face_confidence': 7.369314999494236}]\n", "[{'emotion': {'angry': 1.6434645280241966, 'disgust': 15.607850253582, 'fear': 4.957710579037666, 'happy': 0.9133869782090187, 'sad': 27.647259831428528, 'surprise': 1.8065903335809708, 'neutral': 47.42373526096344}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 40, 'w': 26, 'h': 26}, 'face_confidence': 6.525523010815959}]\n", "[{'emotion': {'angry': 5.436661094427109, 'disgust': 1.2975195318176702e-05, 'fear': 11.116889119148254, 'happy': 3.05926576256752, 'sad': 33.23253393173218, 'surprise': 0.004892297511105426, 'neutral': 47.149744629859924}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 2.7940590821090154}]\n", "[{'emotion': {'angry': 0.16766584847236854, 'disgust': 2.9192635791525535e-06, 'fear': 1.5940085091004979, 'happy': 0.027097159501571596, 'sad': 1.077005954325909, 'surprise': 0.0007934768327710075, 'neutral': 97.13342751663059}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 48, 'w': 67, 'h': 67}, 'face_confidence': 10.817702002008446}]\n", "[{'emotion': {'angry': 53.65719199180603, 'disgust': 0.0007242897936521331, 'fear': 1.829472929239273, 'happy': 3.5870786756277084, 'sad': 29.22271490097046, 'surprise': 0.051130662905052304, 'neutral': 11.651680618524551}, 'dominant_emotion': 'angry', 'region': {'x': 18, 'y': 37, 'w': 92, 'h': 92}, 'face_confidence': 8.179487058136147}]\n", "[{'emotion': {'angry': 0.048025840030660634, 'disgust': 2.1030464668685938e-05, 'fear': 0.20283706298244375, 'happy': 3.2031795056569283, 'sad': 0.4556819136847206, 'surprise': 0.0031114346747117294, 'neutral': 96.08714557213459}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 50, 'w': 66, 'h': 66}, 'face_confidence': 9.858975005045068}]\n", "[{'emotion': {'angry': 0.00038191822116404414, 'disgust': 4.889985952304523e-06, 'fear': 0.06967075002279878, 'happy': 81.9162059972409, 'sad': 0.012407053885098033, 'surprise': 0.06760539075056557, 'neutral': 17.933721419198598}, 'dominant_emotion': 'happy', 'region': {'x': 19, 'y': 42, 'w': 83, 'h': 83}, 'face_confidence': 7.204915078764316}]\n", "[{'emotion': {'angry': 0.8048552060299866, 'disgust': 0.0015478130054589689, 'fear': 0.2657518405316066, 'happy': 0.7720447622037218, 'sad': 1.4623518221256946, 'surprise': 0.0014240244248415097, 'neutral': 96.69202009534597}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 44, 'w': 72, 'h': 72}, 'face_confidence': 12.356997146853246}]\n", "[{'emotion': {'angry': 0.0003487382855382748, 'disgust': 1.77291908359872e-17, 'fear': 2.8086583406250476e-09, 'happy': 99.99632835388184, 'sad': 4.783280438402926e-08, 'surprise': 9.0146651254841e-08, 'neutral': 0.003324684439576231}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 46, 'w': 65, 'h': 65}, 'face_confidence': 5.8416091002873145}]\n", "An error happened\n", "[{'emotion': {'angry': 9.739898145198822, 'disgust': 0.4640404134988785, 'fear': 2.381974272429943, 'happy': 0.033892193459905684, 'sad': 16.62357449531555, 'surprise': 0.01678130793152377, 'neutral': 70.73983550071716}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 48, 'w': 68, 'h': 68}, 'face_confidence': 12.150635029305704}]\n", "[{'emotion': {'angry': 8.97303894162178, 'disgust': 0.05501860869117081, 'fear': 20.959235727787018, 'happy': 0.09417984401807189, 'sad': 34.463366866111755, 'surprise': 0.12467268388718367, 'neutral': 35.330480337142944}, 'dominant_emotion': 'neutral', 'region': {'x': 22, 'y': 43, 'w': 83, 'h': 83}, 'face_confidence': 7.855439017235767}]\n", "[{'emotion': {'angry': 2.510180081571889e-05, 'disgust': 8.277659446775942e-07, 'fear': 0.001546463681734167, 'happy': 98.87336492538452, 'sad': 0.001082122980733402, 'surprise': 2.805195242761016e-08, 'neutral': 1.1239810846745968}, 'dominant_emotion': 'happy', 'region': {'x': 31, 'y': 49, 'w': 63, 'h': 63}, 'face_confidence': 8.865197030710988}]\n", "[{'emotion': {'angry': 0.06014172686263919, 'disgust': 5.372733085096115e-05, 'fear': 0.36423990968614817, 'happy': 1.171277929097414, 'sad': 3.5747434943914413, 'surprise': 0.06552864797413349, 'neutral': 94.76401209831238}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 49, 'w': 65, 'h': 65}, 'face_confidence': 8.72007309430046}]\n", "[{'emotion': {'angry': 35.655105113983154, 'disgust': 0.042781190131790936, 'fear': 3.465757891535759, 'happy': 0.051751191494986415, 'sad': 26.479655504226685, 'surprise': 0.02356503246119246, 'neutral': 34.28139090538025}, 'dominant_emotion': 'angry', 'region': {'x': 30, 'y': 48, 'w': 66, 'h': 66}, 'face_confidence': 8.831499124586117}]\n", "[{'emotion': {'angry': 2.2495479210672285, 'disgust': 0.17538378941745036, 'fear': 16.84164456625516, 'happy': 34.879679665527306, 'sad': 3.6364529891554103, 'surprise': 1.5578360291225946, 'neutral': 40.65945931189767}, 'dominant_emotion': 'neutral', 'region': {'x': 32, 'y': 51, 'w': 65, 'h': 65}, 'face_confidence': 8.367897004936822}]\n", "[{'emotion': {'angry': 0.06737706495983124, 'disgust': 0.0005143657131894153, 'fear': 4.790752555042201, 'happy': 78.87242688269295, 'sad': 0.9701890645695848, 'surprise': 0.08157415623637662, 'neutral': 15.217160854678053}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 49, 'w': 65, 'h': 65}, 'face_confidence': 5.960569033108186}]\n", "[{'emotion': {'angry': 0.034350941724572585, 'disgust': 2.5450656555288906e-10, 'fear': 1.900562096630199e-05, 'happy': 99.12479514627428, 'sad': 5.926774802257672e-06, 'surprise': 0.00022658945440504476, 'neutral': 0.8406027721227868}, 'dominant_emotion': 'happy', 'region': {'x': 26, 'y': 46, 'w': 75, 'h': 75}, 'face_confidence': 8.805973184702452}]\n", "[{'emotion': {'angry': 8.93129376396015, 'disgust': 0.02260089698907471, 'fear': 0.2097292786041762, 'happy': 10.961739902288926, 'sad': 9.55028941627867, 'surprise': 0.016619353320191405, 'neutral': 70.30772324708423}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 11.38425707881106}]\n", "An error happened\n", "[{'emotion': {'angry': 6.093451380729675, 'disgust': 39.855870604515076, 'fear': 3.1331904232501984, 'happy': 15.76959639787674, 'sad': 0.5263122729957104, 'surprise': 20.757819712162018, 'neutral': 13.863760232925415}, 'dominant_emotion': 'disgust', 'region': {'x': 18, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 5.2285759667283855}]\n", "[{'emotion': {'angry': 4.733871296048164, 'disgust': 0.0019345518012414686, 'fear': 0.3097781213000417, 'happy': 11.931194365024567, 'sad': 9.910709410905838, 'surprise': 0.01878094772109762, 'neutral': 73.09373021125793}, 'dominant_emotion': 'neutral', 'region': {'x': 22, 'y': 41, 'w': 81, 'h': 81}, 'face_confidence': 9.295157036918681}]\n", "[{'emotion': {'angry': 5.699722096323967, 'disgust': 0.23806472308933735, 'fear': 90.85357785224915, 'happy': 0.013974904140923172, 'sad': 3.041190467774868, 'surprise': 0.06201142678037286, 'neutral': 0.09146027732640505}, 'dominant_emotion': 'fear', 'region': {'x': 22, 'y': 40, 'w': 83, 'h': 83}, 'face_confidence': 10.48055599431973}]\n", "[{'emotion': {'angry': 1.2594464235007763, 'disgust': 1.1675564515201131e-06, 'fear': 0.4471943713724613, 'happy': 4.424275830388069, 'sad': 1.5266859903931618, 'surprise': 0.0014965531590860337, 'neutral': 92.34090447425842}, 'dominant_emotion': 'neutral', 'region': {'x': 26, 'y': 45, 'w': 75, 'h': 75}, 'face_confidence': 11.666140076878946}]\n", "[{'emotion': {'angry': 14.98161405324936, 'disgust': 0.06060285377316177, 'fear': 1.39576755464077, 'happy': 0.14082639245316386, 'sad': 29.56840991973877, 'surprise': 0.004941557563142851, 'neutral': 53.84783744812012}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 50, 'w': 66, 'h': 66}, 'face_confidence': 10.932167940482032}]\n", "[{'emotion': {'angry': 43.8963919878006, 'disgust': 8.788760691436082e-09, 'fear': 46.49395048618317, 'happy': 0.13212452176958323, 'sad': 5.20685687661171, 'surprise': 0.04983885446563363, 'neutral': 4.220835492014885}, 'dominant_emotion': 'fear', 'region': {'x': 19, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 5.89465622784337}]\n", "[{'emotion': {'angry': 0.7054178975522518, 'disgust': 0.14265081845223904, 'fear': 2.7751924470067024, 'happy': 61.342185735702515, 'sad': 2.4169964715838432, 'surprise': 0.07057856419123709, 'neutral': 32.546985149383545}, 'dominant_emotion': 'happy', 'region': {'x': 31, 'y': 49, 'w': 65, 'h': 65}, 'face_confidence': 10.092395096900873}]\n", "[{'emotion': {'angry': 0.006577203021151945, 'disgust': 2.5048905172297964e-07, 'fear': 12.457148730754852, 'happy': 0.007359440496657044, 'sad': 27.3832768201828, 'surprise': 8.77156907108656e-06, 'neutral': 60.145628452301025}, 'dominant_emotion': 'neutral', 'region': {'x': 32, 'y': 51, 'w': 64, 'h': 64}, 'face_confidence': 6.834655089012813}]\n", "[{'emotion': {'angry': 0.0062770574004389346, 'disgust': 0.00020501731796684908, 'fear': 0.44519281946122646, 'happy': 92.65608787536621, 'sad': 0.027802932891063392, 'surprise': 0.6768492516130209, 'neutral': 6.1875902116298676}, 'dominant_emotion': 'happy', 'region': {'x': 31, 'y': 50, 'w': 66, 'h': 66}, 'face_confidence': 8.315340086061042}]\n", "[{'emotion': {'angry': 0.026362505741417408, 'disgust': 0.006677020428469405, 'fear': 1.4817163348197937, 'happy': 96.21174931526184, 'sad': 0.16510087298229337, 'surprise': 0.0008252441148215439, 'neutral': 2.1075740456581116}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 48, 'w': 69, 'h': 69}, 'face_confidence': 9.365138061984908}]\n", "[{'emotion': {'angry': 0.5095507483929396, 'disgust': 0.0002871559217965114, 'fear': 0.10015503503382206, 'happy': 41.96622967720032, 'sad': 1.4717788435518742, 'surprise': 0.00859456486068666, 'neutral': 55.943405628204346}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 47, 'w': 68, 'h': 68}, 'face_confidence': 8.648987086431589}]\n", "[{'emotion': {'angry': 0.43623389482402175, 'disgust': 5.816988127068848e-07, 'fear': 0.5208758947775302, 'happy': 0.2661773395122492, 'sad': 1.6523786874043158, 'surprise': 0.0032573019902616064, 'neutral': 97.12107760435805}, 'dominant_emotion': 'neutral', 'region': {'x': 32, 'y': 2, 'w': 27, 'h': 27}, 'face_confidence': 10.19599113392178}, {'emotion': {'angry': 26.185904513949424, 'disgust': 0.980119465596644, 'fear': 49.91959928987022, 'happy': 0.2632145461120931, 'sad': 3.3445572611425676, 'surprise': 10.270209477556318, 'neutral': 9.036400707745594}, 'dominant_emotion': 'fear', 'region': {'x': 18, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 8.719744082714897}]\n", "[{'emotion': {'angry': 55.274728254957694, 'disgust': 1.1274089179195206e-05, 'fear': 0.04472791018205346, 'happy': 0.0006973968044845578, 'sad': 19.980372189305555, 'surprise': 0.00026509607539386377, 'neutral': 24.699202161979805}, 'dominant_emotion': 'angry', 'region': {'x': 30, 'y': 51, 'w': 67, 'h': 67}, 'face_confidence': 10.019515010004397}]\n", "[{'emotion': {'angry': 14.664165675640106, 'disgust': 0.19968850538134575, 'fear': 29.072320461273193, 'happy': 0.0006118263172538718, 'sad': 43.2226687669754, 'surprise': 0.009958401642506942, 'neutral': 12.830585241317749}, 'dominant_emotion': 'sad', 'region': {'x': 26, 'y': 46, 'w': 73, 'h': 73}, 'face_confidence': 5.5416490218485706}]\n", "[{'emotion': {'angry': 0.02839867665898055, 'disgust': 1.191855414361953e-06, 'fear': 8.480632305145264, 'happy': 12.176933884620667, 'sad': 0.06559470784850419, 'surprise': 0.013647993910126388, 'neutral': 79.23479676246643}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 47, 'w': 69, 'h': 69}, 'face_confidence': 8.371373971865978}]\n", "[{'emotion': {'angry': 3.609996661543846, 'disgust': 0.00010009435982283321, 'fear': 17.379015684127808, 'happy': 0.021425574959721416, 'sad': 0.08770430576987565, 'surprise': 78.60478162765503, 'neutral': 0.296978116966784}, 'dominant_emotion': 'surprise', 'region': {'x': 24, 'y': 42, 'w': 84, 'h': 84}, 'face_confidence': 6.985441010387149}]\n", "[{'emotion': {'angry': 2.072194218635559, 'disgust': 0.07761382730677724, 'fear': 68.49988102912903, 'happy': 0.1438373699784279, 'sad': 16.346685588359833, 'surprise': 0.25004425551742315, 'neutral': 12.60974258184433}, 'dominant_emotion': 'fear', 'region': {'x': 16, 'y': 33, 'w': 96, 'h': 96}, 'face_confidence': 6.939990079437848}]\n", "[{'emotion': {'angry': 55.61966300010681, 'disgust': 0.0002519301688153064, 'fear': 1.6504732891917229, 'happy': 0.02650445676408708, 'sad': 34.09055471420288, 'surprise': 0.012482513557188213, 'neutral': 8.600075542926788}, 'dominant_emotion': 'angry', 'region': {'x': 30, 'y': 48, 'w': 66, 'h': 66}, 'face_confidence': 11.326042179658543}]\n", "An error happened\n", "[{'emotion': {'angry': 8.455241471529007, 'disgust': 0.5283034406602383, 'fear': 37.126725912094116, 'happy': 0.13402046170085669, 'sad': 1.236986182630062, 'surprise': 40.10184705257416, 'neutral': 12.41687759757042}, 'dominant_emotion': 'surprise', 'region': {'x': 27, 'y': 46, 'w': 73, 'h': 73}, 'face_confidence': 10.590726154099684}]\n", "[{'emotion': {'angry': 0.07361828179391107, 'disgust': 8.684943862456714e-05, 'fear': 0.06151020794483518, 'happy': 76.8065246112972, 'sad': 0.9549500627756193, 'surprise': 0.06109633978487131, 'neutral': 22.042218988206265}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 5.525349048373755}]\n", "[{'emotion': {'angry': 13.244786858558655, 'disgust': 0.00036969877328374423, 'fear': 0.15005673049017787, 'happy': 2.7759015560150146, 'sad': 8.24853852391243, 'surprise': 1.0472347028553486, 'neutral': 74.53311085700989}, 'dominant_emotion': 'neutral', 'region': {'x': 26, 'y': 48, 'w': 71, 'h': 71}, 'face_confidence': 7.939270109753124}]\n", "[{'emotion': {'angry': 0.001234135544000589, 'disgust': 2.3714004396975147e-08, 'fear': 0.0006570691248832029, 'happy': 92.02337217470242, 'sad': 0.0011376895368445017, 'surprise': 0.0010047114900269408, 'neutral': 7.972592590605771}, 'dominant_emotion': 'happy', 'region': {'x': 29, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 10.778054107155185}]\n", "[{'emotion': {'angry': 41.749680042266846, 'disgust': 1.2739317933885275e-08, 'fear': 0.002638142177602276, 'happy': 0.01585807476658374, 'sad': 0.9823724627494812, 'surprise': 0.0010205095350102056, 'neutral': 57.24843740463257}, 'dominant_emotion': 'neutral', 'region': {'x': 20, 'y': 43, 'w': 85, 'h': 85}, 'face_confidence': 9.13048917305423}]\n", "[{'emotion': {'angry': 2.8766645414633105, 'disgust': 0.0036525015468753894, 'fear': 5.514674348869997, 'happy': 2.5996870056167833, 'sad': 11.38719035539742, 'surprise': 0.0273963665759797, 'neutral': 77.59073047748441}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 37, 'w': 30, 'h': 30}, 'face_confidence': 9.980588172911666}]\n", "[{'emotion': {'angry': 31.2497079372406, 'disgust': 0.03568940737750381, 'fear': 9.295804798603058, 'happy': 0.11827158741652966, 'sad': 31.311294436454773, 'surprise': 0.14774815645068884, 'neutral': 27.841487526893616}, 'dominant_emotion': 'sad', 'region': {'x': 31, 'y': 51, 'w': 64, 'h': 64}, 'face_confidence': 7.3389440214959905}]\n", "[{'emotion': {'angry': 1.8737494945526123, 'disgust': 7.695447834521474e-07, 'fear': 6.168461591005325, 'happy': 1.0740865021944046, 'sad': 22.709572315216064, 'surprise': 0.017942725389730185, 'neutral': 68.15618872642517}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 27, 'h': 27}, 'face_confidence': 7.373871098214295}]\n", "[{'emotion': {'angry': 35.4406476020813, 'disgust': 0.0044092823372920975, 'fear': 0.36500084679573774, 'happy': 0.457542110234499, 'sad': 10.293050855398178, 'surprise': 0.03306655853521079, 'neutral': 53.40628623962402}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 49, 'w': 67, 'h': 67}, 'face_confidence': 8.486188909446355}]\n", "[{'emotion': {'angry': 5.359091162584448e-05, 'disgust': 7.819078479612652e-09, 'fear': 0.03007263226965728, 'happy': 99.96894598377395, 'sad': 0.00018333659088030468, 'surprise': 0.00017310168442346915, 'neutral': 0.0005739016840175813}, 'dominant_emotion': 'happy', 'region': {'x': 21, 'y': 43, 'w': 83, 'h': 83}, 'face_confidence': 4.618795076326933}]\n", "[{'emotion': {'angry': 8.445676677903734, 'disgust': 0.0018456985725782973, 'fear': 76.28789261435182, 'happy': 0.07038731967059608, 'sad': 14.979873893245923, 'surprise': 0.034188812134012536, 'neutral': 0.18013756308481849}, 'dominant_emotion': 'fear', 'region': {'x': 24, 'y': 44, 'w': 78, 'h': 78}, 'face_confidence': 7.772484089422505}]\n", "[{'emotion': {'angry': 9.340449480532698e-06, 'disgust': 5.2670958279555855e-12, 'fear': 0.05004942649975419, 'happy': 38.16761374473572, 'sad': 0.00012016118944302434, 'surprise': 0.048210000386461616, 'neutral': 61.733996868133545}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 90, 'h': 90}, 'face_confidence': 9.696655094099697}]\n", "[{'emotion': {'angry': 0.019918243388678092, 'disgust': 1.2710336903545319e-09, 'fear': 0.0008487081788570125, 'happy': 33.334360520167415, 'sad': 0.09366026449810141, 'surprise': 0.022161910332948457, 'neutral': 66.5290554200477}, 'dominant_emotion': 'neutral', 'region': {'x': 21, 'y': 41, 'w': 83, 'h': 83}, 'face_confidence': 7.9995440865750425}]\n", "[{'emotion': {'angry': 4.9866622475747135e-05, 'disgust': 4.468487091457973e-06, 'fear': 0.0053729163482785225, 'happy': 95.14939785003662, 'sad': 0.0016927009710343555, 'surprise': 0.12278894428163767, 'neutral': 4.7206878662109375}, 'dominant_emotion': 'happy', 'region': {'x': 32, 'y': 49, 'w': 64, 'h': 64}, 'face_confidence': 10.222059083054774}]\n", "[{'emotion': {'angry': 5.073985457420349, 'disgust': 0.00010049110414911411, 'fear': 1.0301508009433746, 'happy': 0.14186629559844732, 'sad': 6.5347447991371155, 'surprise': 0.005066410085419193, 'neutral': 87.21408247947693}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 41, 'w': 87, 'h': 87}, 'face_confidence': 7.341830013203435}]\n", "[{'emotion': {'angry': 0.10504655074328184, 'disgust': 5.584598339325453e-08, 'fear': 9.917458783093025e-05, 'happy': 0.0006196898539201356, 'sad': 0.40494133718311787, 'surprise': 4.109426687826101e-09, 'neutral': 99.4892954826355}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 46, 'w': 68, 'h': 68}, 'face_confidence': 10.06360595364822}]\n", "[{'emotion': {'angry': 9.366524964571, 'disgust': 0.00029008072033320786, 'fear': 5.282940715551376, 'happy': 0.08245563949458301, 'sad': 73.85854721069336, 'surprise': 0.004683590304921381, 'neutral': 11.404553800821304}, 'dominant_emotion': 'sad', 'region': {'x': 18, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 6.768455989134964}]\n", "[{'emotion': {'angry': 18.210792541503906, 'disgust': 0.0002592075588836451, 'fear': 8.096755295991898, 'happy': 0.0005954294010734884, 'sad': 50.152409076690674, 'surprise': 0.13587512075901031, 'neutral': 23.403313755989075}, 'dominant_emotion': 'sad', 'region': {'x': 29, 'y': 45, 'w': 65, 'h': 65}, 'face_confidence': 8.392950004606973}]\n", "[{'emotion': {'angry': 31.422826647758484, 'disgust': 2.3555647032935667e-05, 'fear': 0.03817214455921203, 'happy': 0.004083269232069142, 'sad': 8.174541592597961, 'surprise': 5.380698908652448e-06, 'neutral': 60.36034822463989}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 8.845619988976978}]\n", "[{'emotion': {'angry': 8.776111155748367, 'disgust': 2.853993521512166e-05, 'fear': 15.346576273441315, 'happy': 0.0005609463642031187, 'sad': 63.74656558036804, 'surprise': 0.007001656194915995, 'neutral': 12.12315782904625}, 'dominant_emotion': 'sad', 'region': {'x': 24, 'y': 45, 'w': 75, 'h': 75}, 'face_confidence': 8.274822059494909}]\n", "[{'emotion': {'angry': 0.061659340281039476, 'disgust': 0.0008735712981433608, 'fear': 12.737934291362762, 'happy': 67.01173186302185, 'sad': 0.7128998171538115, 'surprise': 7.122999429702759, 'neutral': 12.351901829242706}, 'dominant_emotion': 'happy', 'region': {'x': 19, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 7.374943065166008}]\n", "[{'emotion': {'angry': 6.362737715244293, 'disgust': 0.0016065416275523603, 'fear': 19.45972889661789, 'happy': 0.10621467372402549, 'sad': 25.39859712123871, 'surprise': 0.009754826896823943, 'neutral': 48.661357164382935}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 52, 'w': 64, 'h': 64}, 'face_confidence': 9.494962089636829}]\n", "[{'emotion': {'angry': 12.82145082950592, 'disgust': 0.0014760380508960225, 'fear': 2.4318458512425423, 'happy': 0.16012616688385606, 'sad': 17.229393124580383, 'surprise': 0.2622445113956928, 'neutral': 67.09346771240234}, 'dominant_emotion': 'neutral', 'region': {'x': 20, 'y': 41, 'w': 85, 'h': 85}, 'face_confidence': 9.487344967841636}]\n", "[{'emotion': {'angry': 0.07469209376722574, 'disgust': 0.0007851092959754169, 'fear': 14.916016161441803, 'happy': 46.10231816768646, 'sad': 1.0220649652183056, 'surprise': 0.07548804278485477, 'neutral': 37.808629870414734}, 'dominant_emotion': 'happy', 'region': {'x': 24, 'y': 45, 'w': 75, 'h': 75}, 'face_confidence': 6.373655030911323}]\n", "[{'emotion': {'angry': 0.0022602106548677793, 'disgust': 4.090136717288624e-07, 'fear': 0.00014851964985315822, 'happy': 98.92627584055374, 'sad': 0.0009828263762947415, 'surprise': 0.00015578774120459532, 'neutral': 1.070177589527081}, 'dominant_emotion': 'happy', 'region': {'x': 29, 'y': 47, 'w': 65, 'h': 65}, 'face_confidence': 6.709858072164934}]\n", "[{'emotion': {'angry': 1.0316139087080956, 'disgust': 0.00013904078741688863, 'fear': 0.7022450678050518, 'happy': 0.780652230605483, 'sad': 7.791432738304138, 'surprise': 0.0005503241482074372, 'neutral': 89.69336748123169}, 'dominant_emotion': 'neutral', 'region': {'x': 17, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 10.164816086587962}]\n", "[{'emotion': {'angry': 16.17082506418228, 'disgust': 0.01137859362643212, 'fear': 0.8080375380814075, 'happy': 0.05411020829342306, 'sad': 9.949278086423874, 'surprise': 0.02282671193825081, 'neutral': 72.98354506492615}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 48, 'w': 63, 'h': 63}, 'face_confidence': 12.568601221893914}]\n", "[{'emotion': {'angry': 0.14322565402835608, 'disgust': 2.666755483105021e-07, 'fear': 0.03160121850669384, 'happy': 91.05727076530457, 'sad': 0.003916734567610547, 'surprise': 0.0064425817981828, 'neutral': 8.757541328668594}, 'dominant_emotion': 'happy', 'region': {'x': 25, 'y': 46, 'w': 73, 'h': 73}, 'face_confidence': 11.047645173151977}]\n", "[{'emotion': {'angry': 0.20573388319462538, 'disgust': 0.005514259828487411, 'fear': 5.139705166220665, 'happy': 4.655071720480919, 'sad': 3.738313913345337, 'surprise': 0.014277553418651223, 'neutral': 86.24138236045837}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 50, 'w': 68, 'h': 68}, 'face_confidence': 7.8830930110416375}]\n", "[{'emotion': {'angry': 2.0959774360562733e-05, 'disgust': 1.3431079572091484e-12, 'fear': 0.5891700275242329, 'happy': 0.04298807180020958, 'sad': 8.795326203107834, 'surprise': 0.007206583541119471, 'neutral': 90.56528806686401}, 'dominant_emotion': 'neutral', 'region': {'x': 23, 'y': 40, 'w': 82, 'h': 82}, 'face_confidence': 6.391859065450262}]\n", "[{'emotion': {'angry': 8.622627660770377e-05, 'disgust': 1.8703628598161492e-11, 'fear': 1.7980689159813323e-07, 'happy': 99.23450350761414, 'sad': 1.5014927967627045e-06, 'surprise': 6.638390281921147e-07, 'neutral': 0.7654116954654455}, 'dominant_emotion': 'happy', 'region': {'x': 17, 'y': 38, 'w': 91, 'h': 91}, 'face_confidence': 7.2853711561183445}]\n", "[{'emotion': {'angry': 3.0197151005268097, 'disgust': 0.13972558081150055, 'fear': 2.8691384941339493, 'happy': 1.7222296446561813, 'sad': 39.63742554187775, 'surprise': 0.07564104162156582, 'neutral': 52.53612399101257}, 'dominant_emotion': 'neutral', 'region': {'x': 16, 'y': 35, 'w': 94, 'h': 94}, 'face_confidence': 11.96144525904674}]\n", "[{'emotion': {'angry': 16.33598901843959, 'disgust': 1.7759838268747226, 'fear': 15.710000140070923, 'happy': 1.8872187666427354, 'sad': 30.262960807261514, 'surprise': 1.3699257631555655, 'neutral': 32.657923260803415}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 8.457132134994026}]\n", "[{'emotion': {'angry': 2.9986245557665825, 'disgust': 6.441296829251542e-07, 'fear': 0.016314780805259943, 'happy': 0.006096700963098556, 'sad': 4.403312876820564, 'surprise': 0.0001695915329946729, 'neutral': 92.57548451423645}, 'dominant_emotion': 'neutral', 'region': {'x': 17, 'y': 36, 'w': 55, 'h': 55}, 'face_confidence': 10.162485108885448}]\n", "[{'emotion': {'angry': 7.324551382081879e-09, 'disgust': 2.9722975071749537e-15, 'fear': 2.3240177143835083e-10, 'happy': 99.95040893554688, 'sad': 6.9163452742770914e-09, 'surprise': 1.8658538603055774e-08, 'neutral': 0.04959042416885495}, 'dominant_emotion': 'happy', 'region': {'x': 20, 'y': 42, 'w': 86, 'h': 86}, 'face_confidence': 6.028032077651005}]\n", "[{'emotion': {'angry': 0.14668602377566411, 'disgust': 0.0013704781125567869, 'fear': 0.02825800283623453, 'happy': 58.77124562606268, 'sad': 3.7705938493497553, 'surprise': 3.4867340410635695e-06, 'neutral': 37.28183361508446}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 39, 'w': 28, 'h': 28}, 'face_confidence': 8.676039033045527}]\n", "[{'emotion': {'angry': 0.28715435730095845, 'disgust': 0.0005606651818595795, 'fear': 3.204472181467544, 'happy': 4.097890353077075, 'sad': 1.9760920912678297, 'surprise': 0.0260515066723306, 'neutral': 90.40777626083948}, 'dominant_emotion': 'neutral', 'region': {'x': 15, 'y': 35, 'w': 94, 'h': 94}, 'face_confidence': 6.405440107395407}]\n", "[{'emotion': {'angry': 4.164748266339302, 'disgust': 0.2813725033774972, 'fear': 73.55986833572388, 'happy': 0.019611866446211934, 'sad': 17.779414355754852, 'surprise': 0.029708148213103414, 'neutral': 4.165276885032654}, 'dominant_emotion': 'fear', 'region': {'x': 27, 'y': 87, 'w': 61, 'h': 61}, 'face_confidence': 6.566644017293584}]\n", "[{'emotion': {'angry': 36.27099394798279, 'disgust': 2.3680179594975925e-05, 'fear': 0.006608702096855268, 'happy': 0.16481924103572965, 'sad': 3.1179148703813553, 'surprise': 0.029245822224766016, 'neutral': 60.41039228439331}, 'dominant_emotion': 'neutral', 'region': {'x': 22, 'y': 40, 'w': 85, 'h': 85}, 'face_confidence': 9.677503070503008}]\n", "[{'emotion': {'angry': 0.9824435226619244, 'disgust': 0.00045221668187878095, 'fear': 0.37799025885760784, 'happy': 2.6062453165650368, 'sad': 3.640429675579071, 'surprise': 0.004068634370923974, 'neutral': 92.38836765289307}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 51, 'w': 62, 'h': 62}, 'face_confidence': 12.292820003523957}]\n", "[{'emotion': {'angry': 0.2275730211945747, 'disgust': 3.357495825242064e-08, 'fear': 0.004452010959053968, 'happy': 85.0137191994525, 'sad': 0.1583964025837001, 'surprise': 0.00025468588466338746, 'neutral': 14.595599222707841}, 'dominant_emotion': 'happy', 'region': {'x': 31, 'y': 45, 'w': 67, 'h': 67}, 'face_confidence': 8.04919111932395}]\n", "[{'emotion': {'angry': 0.07636305981989562, 'disgust': 0.00015691252682101492, 'fear': 3.3428946639832655, 'happy': 68.82415824080456, 'sad': 0.3697463531640979, 'surprise': 0.055255476419209026, 'neutral': 27.33142538854035}, 'dominant_emotion': 'happy', 'region': {'x': 26, 'y': 45, 'w': 74, 'h': 74}, 'face_confidence': 10.361495072371326}]\n", "[{'emotion': {'angry': 23.666827380657196, 'disgust': 0.027287958073429763, 'fear': 18.09430718421936, 'happy': 9.194336086511612, 'sad': 1.0884210467338562, 'surprise': 2.354230359196663, 'neutral': 45.57458758354187}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 48, 'w': 67, 'h': 67}, 'face_confidence': 11.246174199390225}]\n", "[{'emotion': {'angry': 3.3566176891326904, 'disgust': 4.0284056979089655e-06, 'fear': 0.1070259721018374, 'happy': 0.23496646899729967, 'sad': 1.347790937870741, 'surprise': 0.09842797880992293, 'neutral': 94.85517144203186}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 42, 'w': 84, 'h': 84}, 'face_confidence': 9.044511026178952}]\n", "[{'emotion': {'angry': 41.18982553482056, 'disgust': 5.710731540431446e-09, 'fear': 3.75116765499115, 'happy': 1.327701285481453, 'sad': 31.08464777469635, 'surprise': 2.2135226984687506e-06, 'neutral': 22.64665961265564}, 'dominant_emotion': 'angry', 'region': {'x': 31, 'y': 48, 'w': 68, 'h': 68}, 'face_confidence': 9.662335137545597}]\n", "[{'emotion': {'angry': 3.8636159151792526, 'disgust': 0.000522297841598629, 'fear': 13.115459680557251, 'happy': 0.5803135689347982, 'sad': 6.113949790596962, 'surprise': 0.04786682839039713, 'neutral': 76.27827525138855}, 'dominant_emotion': 'neutral', 'region': {'x': 17, 'y': 40, 'w': 90, 'h': 90}, 'face_confidence': 8.429484071559273}]\n", "[{'emotion': {'angry': 82.83031582832336, 'disgust': 0.0001994538479266339, 'fear': 5.826837569475174, 'happy': 0.9725789539515972, 'sad': 1.199396327137947, 'surprise': 0.29225279577076435, 'neutral': 8.878424018621445}, 'dominant_emotion': 'angry', 'region': {'x': 18, 'y': 40, 'w': 88, 'h': 88}, 'face_confidence': 7.909868964867201}]\n", "[{'emotion': {'angry': 40.39158763835356, 'disgust': 0.0032553913236782373, 'fear': 11.449277338342508, 'happy': 0.03595835801803964, 'sad': 41.735487683742505, 'surprise': 0.07449544362510405, 'neutral': 6.309945512410731}, 'dominant_emotion': 'sad', 'region': {'x': 31, 'y': 49, 'w': 64, 'h': 64}, 'face_confidence': 10.942231052264106}]\n", "[{'emotion': {'angry': 1.184048059599263e-06, 'disgust': 1.351727432243044e-10, 'fear': 0.0008452263500657864, 'happy': 99.64488744735718, 'sad': 0.0002864051111828303, 'surprise': 0.0006597046194656286, 'neutral': 0.3533243201673031}, 'dominant_emotion': 'happy', 'region': {'x': 19, 'y': 41, 'w': 86, 'h': 86}, 'face_confidence': 6.249250019143801}]\n", "[{'emotion': {'angry': 0.0016922269423957914, 'disgust': 7.387702428973686e-10, 'fear': 7.998981033097152e-06, 'happy': 61.906588077545166, 'sad': 0.01864863734226674, 'surprise': 0.0026165942472289316, 'neutral': 38.07044327259064}, 'dominant_emotion': 'happy', 'region': {'x': 24, 'y': 43, 'w': 79, 'h': 79}, 'face_confidence': 8.53719695348991}]\n", "[{'emotion': {'angry': 11.323295533657074, 'disgust': 0.3004158614203334, 'fear': 9.596838802099228, 'happy': 78.31553220748901, 'sad': 0.22948849946260452, 'surprise': 0.012480412260629237, 'neutral': 0.2219413872808218}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 36, 'w': 93, 'h': 93}, 'face_confidence': 7.264182015729602}]\n", "[{'emotion': {'angry': 0.0896414858289063, 'disgust': 1.3490767969415174e-05, 'fear': 0.3395731095224619, 'happy': 0.07664065342396498, 'sad': 0.8861442096531391, 'surprise': 0.044409348629415035, 'neutral': 98.5635757446289}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 87, 'h': 87}, 'face_confidence': 9.523676048906054}]\n", "[{'emotion': {'angry': 0.8590470068156719, 'disgust': 0.0001019681008074258, 'fear': 1.1651855893433094, 'happy': 80.20432591438293, 'sad': 1.0794471949338913, 'surprise': 0.06002230220474303, 'neutral': 16.631874442100525}, 'dominant_emotion': 'happy', 'region': {'x': 32, 'y': 48, 'w': 64, 'h': 64}, 'face_confidence': 7.332551985222381}]\n", "[{'emotion': {'angry': 5.0375305116176605, 'disgust': 0.0001761884846018802, 'fear': 0.5548291373997927, 'happy': 2.804533764719963, 'sad': 2.649904415011406, 'surprise': 0.2309359610080719, 'neutral': 88.72209191322327}, 'dominant_emotion': 'neutral', 'region': {'x': 25, 'y': 46, 'w': 71, 'h': 71}, 'face_confidence': 8.596047074475791}]\n", "An error happened\n", "[{'emotion': {'angry': 0.5838861571333502, 'disgust': 3.490137276268921e-07, 'fear': 1.073146768548892, 'happy': 8.675614202334193e-05, 'sad': 6.759220764590547, 'surprise': 8.705865134786634e-05, 'neutral': 91.58357331654867}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 3.4435240795719437}]\n", "[{'emotion': {'angry': 0.004496827386901714, 'disgust': 0.0006999069682933623, 'fear': 31.66372776031494, 'happy': 0.5098003428429365, 'sad': 0.06963717169128358, 'surprise': 0.239818193949759, 'neutral': 67.51181483268738}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 51, 'w': 63, 'h': 63}, 'face_confidence': 6.948165051289834}]\n", "[{'emotion': {'angry': 17.41238385438919, 'disgust': 0.026585004525259137, 'fear': 0.8956043981015682, 'happy': 2.135978825390339, 'sad': 4.555761814117432, 'surprise': 0.02911917690653354, 'neutral': 74.94456171989441}, 'dominant_emotion': 'neutral', 'region': {'x': 23, 'y': 45, 'w': 77, 'h': 77}, 'face_confidence': 6.957608129014261}]\n", "[{'emotion': {'angry': 2.8592564427221134e-08, 'disgust': 7.367662566734464e-23, 'fear': 9.842072033661129e-16, 'happy': 99.99628067016602, 'sad': 3.743304832770633e-08, 'surprise': 8.393112593818586e-10, 'neutral': 0.0037245514249661937}, 'dominant_emotion': 'happy', 'region': {'x': 17, 'y': 38, 'w': 92, 'h': 92}, 'face_confidence': 8.127865990099963}]\n", "[{'emotion': {'angry': 69.18069536570879, 'disgust': 1.9675101832538054e-06, 'fear': 0.0037519529049750287, 'happy': 0.38471345288833697, 'sad': 0.6742574210767401, 'surprise': 0.016216636379589075, 'neutral': 29.740365132115194}, 'dominant_emotion': 'angry', 'region': {'x': 21, 'y': 40, 'w': 84, 'h': 84}, 'face_confidence': 11.532733057800215}]\n", "[{'emotion': {'angry': 84.26371812820435, 'disgust': 0.0009210712960339151, 'fear': 1.8712960183620453, 'happy': 6.12412728369236, 'sad': 3.6473985761404037, 'surprise': 0.22344444878399372, 'neutral': 3.8690950721502304}, 'dominant_emotion': 'angry', 'region': {'x': 28, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 10.062500115600415}]\n", "[{'emotion': {'angry': 6.013351678848267, 'disgust': 0.01584159181220457, 'fear': 0.8448946289718151, 'happy': 0.9750251658260822, 'sad': 7.689180225133896, 'surprise': 0.013486911484505981, 'neutral': 84.44821834564209}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 41, 'w': 47, 'h': 47}, 'face_confidence': 11.582279085123446}]\n", "[{'emotion': {'angry': 1.7240406945347786, 'disgust': 9.784598908879616e-07, 'fear': 3.3601470291614532, 'happy': 0.04259195411577821, 'sad': 15.87190181016922, 'surprise': 0.029357438324950635, 'neutral': 78.97196412086487}, 'dominant_emotion': 'neutral', 'region': {'x': 20, 'y': 39, 'w': 85, 'h': 85}, 'face_confidence': 11.57514408667339}]\n", "[{'emotion': {'angry': 36.01091206073761, 'disgust': 8.185574529306905e-06, 'fear': 0.10915657039731741, 'happy': 0.021167867816984653, 'sad': 8.021421730518341, 'surprise': 0.3332246094942093, 'neutral': 55.50410747528076}, 'dominant_emotion': 'neutral', 'region': {'x': 16, 'y': 37, 'w': 92, 'h': 92}, 'face_confidence': 7.343832011683844}]\n", "[{'emotion': {'angry': 1.0242349468171597, 'disgust': 1.1770517720222085e-09, 'fear': 17.657488584518433, 'happy': 3.3320237236011963e-06, 'sad': 67.58890748023987, 'surprise': 5.519370294138071e-07, 'neutral': 13.729371130466461}, 'dominant_emotion': 'sad', 'region': {'x': 19, 'y': 41, 'w': 45, 'h': 45}, 'face_confidence': 6.50580810563406}]\n", "[{'emotion': {'angry': 2.9737536228877378e-12, 'disgust': 5.6331100007684424e-18, 'fear': 3.9113099688340604e-13, 'happy': 99.9999821186055, 'sad': 2.300579839994504e-11, 'surprise': 8.655643450084038e-11, 'neutral': 1.950206867885533e-05}, 'dominant_emotion': 'happy', 'region': {'x': 29, 'y': 52, 'w': 66, 'h': 66}, 'face_confidence': 10.113439997541718}]\n", "[{'emotion': {'angry': 46.84707522392273, 'disgust': 0.006416952965082601, 'fear': 3.521331399679184, 'happy': 0.08419459336437285, 'sad': 28.338828682899475, 'surprise': 0.16527300467714667, 'neutral': 21.036873757839203}, 'dominant_emotion': 'angry', 'region': {'x': 18, 'y': 38, 'w': 90, 'h': 90}, 'face_confidence': 10.930455137859099}]\n", "[{'emotion': {'angry': 0.0053830295226200385, 'disgust': 5.362903685489305e-06, 'fear': 1.3434051405432903, 'happy': 0.005906623107054158, 'sad': 0.007614592049348998, 'surprise': 98.59260312274714, 'neutral': 0.04508389079512005}, 'dominant_emotion': 'surprise', 'region': {'x': 19, 'y': 38, 'w': 27, 'h': 27}, 'face_confidence': 5.02973709924845}]\n", "[{'emotion': {'angry': 5.631209238623471, 'disgust': 0.0024854630048370316, 'fear': 1.0042796576881816, 'happy': 0.7055102006482838, 'sad': 6.665220807168388, 'surprise': 0.022996345238264472, 'neutral': 85.96829343220074}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 49, 'w': 67, 'h': 67}, 'face_confidence': 10.208880997670349}]\n", "[{'emotion': {'angry': 1.5743742098309373e-12, 'disgust': 6.810441872053993e-28, 'fear': 4.654359918212273e-19, 'happy': 100.0, 'sad': 1.7950099872064479e-13, 'surprise': 7.876340205048571e-10, 'neutral': 1.4767879363830616e-06}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 47, 'w': 71, 'h': 71}, 'face_confidence': 10.864748061809223}]\n", "[{'emotion': {'angry': 29.467245936393738, 'disgust': 0.22669285535812378, 'fear': 46.26534879207611, 'happy': 0.011790699500124902, 'sad': 15.444596111774445, 'surprise': 0.043525215005502105, 'neutral': 8.540801703929901}, 'dominant_emotion': 'fear', 'region': {'x': 16, 'y': 38, 'w': 92, 'h': 92}, 'face_confidence': 9.053703075216617}]\n", "[{'emotion': {'angry': 3.584438556686082e-14, 'disgust': 2.6450598543449745e-19, 'fear': 3.830767649148453e-14, 'happy': 99.99985694885254, 'sad': 1.364923885721625e-09, 'surprise': 1.0230351722012587e-10, 'neutral': 0.0001418274337083858}, 'dominant_emotion': 'happy', 'region': {'x': 19, 'y': 42, 'w': 84, 'h': 84}, 'face_confidence': 6.71488604642218}]\n", "[{'emotion': {'angry': 3.6778631018318593, 'disgust': 0.10406271941961166, 'fear': 47.30818255592481, 'happy': 7.533513458580581, 'sad': 4.371414594138538, 'surprise': 35.87495898455137, 'neutral': 1.13000485330849}, 'dominant_emotion': 'fear', 'region': {'x': 28, 'y': 50, 'w': 67, 'h': 67}, 'face_confidence': 9.341425987833645}]\n", "[{'emotion': {'angry': 10.5377197265625, 'disgust': 0.02246190997539088, 'fear': 10.181856155395508, 'happy': 0.6686047650873661, 'sad': 51.31731629371643, 'surprise': 0.4103700164705515, 'neutral': 26.86167061328888}, 'dominant_emotion': 'sad', 'region': {'x': 18, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 10.009407093399204}]\n", "[{'emotion': {'angry': 2.6454439958400733, 'disgust': 1.3600147296894186e-05, 'fear': 13.032855029957886, 'happy': 79.18214450095361, 'sad': 3.927156606059479, 'surprise': 0.06739036540876443, 'neutral': 1.1449950313574038}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 48, 'w': 72, 'h': 72}, 'face_confidence': 5.090961104899179}]\n", "[{'emotion': {'angry': 0.3726260493025809, 'disgust': 0.0008304690294841005, 'fear': 0.14937956310835857, 'happy': 0.027167714306836684, 'sad': 3.7079131578155256, 'surprise': 0.0059096870129881135, 'neutral': 95.73617552138421}, 'dominant_emotion': 'neutral', 'region': {'x': 17, 'y': 40, 'w': 87, 'h': 87}, 'face_confidence': 9.858331960742362}]\n", "[{'emotion': {'angry': 2.722546851591928e-13, 'disgust': 6.565485319654772e-24, 'fear': 1.2246128389183797e-14, 'happy': 99.87419247627258, 'sad': 2.813909001642134e-09, 'surprise': 3.122684055778535e-09, 'neutral': 0.12580754701048136}, 'dominant_emotion': 'happy', 'region': {'x': 26, 'y': 42, 'w': 79, 'h': 79}, 'face_confidence': 10.280949137348216}]\n", "An error happened\n", "[{'emotion': {'angry': 9.216107428073883, 'disgust': 0.00035715013382287, 'fear': 0.7492366712540388, 'happy': 0.19291451899334788, 'sad': 18.859584629535675, 'surprise': 0.0019140374206472188, 'neutral': 70.97988724708557}, 'dominant_emotion': 'neutral', 'region': {'x': 26, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 9.396758001414128}]\n", "[{'emotion': {'angry': 65.00877916917553, 'disgust': 0.06448758254238457, 'fear': 11.337277899656046, 'happy': 0.027985976037760204, 'sad': 18.753627688125096, 'surprise': 0.0362447709909926, 'neutral': 4.771605330300966}, 'dominant_emotion': 'angry', 'region': {'x': 33, 'y': 49, 'w': 64, 'h': 64}, 'face_confidence': 10.15918114053784}]\n", "[{'emotion': {'angry': 8.937624841928482, 'disgust': 0.0008549669473723043, 'fear': 28.692829608917236, 'happy': 0.09312438196502626, 'sad': 34.894946217536926, 'surprise': 0.01809945097193122, 'neutral': 27.36252248287201}, 'dominant_emotion': 'sad', 'region': {'x': 28, 'y': 48, 'w': 69, 'h': 69}, 'face_confidence': 8.767328093468677}]\n", "[{'emotion': {'angry': 2.3721362946710762, 'disgust': 0.012686571455039618, 'fear': 29.7224360538981, 'happy': 4.224951444563356, 'sad': 10.771707342368803, 'surprise': 0.023738949635804422, 'neutral': 52.87234502269894}, 'dominant_emotion': 'neutral', 'region': {'x': 17, 'y': 38, 'w': 90, 'h': 90}, 'face_confidence': 8.486484016000759}]\n", "[{'emotion': {'angry': 1.541196595613983e-07, 'disgust': 7.966459456043335e-11, 'fear': 1.2913324868611797e-05, 'happy': 96.22061826113571, 'sad': 0.00013178777966172122, 'surprise': 4.3944029703121423e-05, 'neutral': 3.77919882709973}, 'dominant_emotion': 'happy', 'region': {'x': 29, 'y': 51, 'w': 66, 'h': 66}, 'face_confidence': 9.73966004740214}]\n", "[{'emotion': {'angry': 0.6911334116011858, 'disgust': 0.0036458401154959574, 'fear': 1.8098125234246254, 'happy': 14.476913213729858, 'sad': 7.751650363206863, 'surprise': 0.08257302106358111, 'neutral': 75.1842737197876}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 49, 'w': 69, 'h': 69}, 'face_confidence': 8.239213029562961}]\n", "[{'emotion': {'angry': 0.3796929493546486, 'disgust': 2.4186210367815875e-06, 'fear': 1.1652413755655289, 'happy': 5.54884672164917, 'sad': 5.284992605447769, 'surprise': 0.12123563792556524, 'neutral': 87.49998807907104}, 'dominant_emotion': 'neutral', 'region': {'x': 20, 'y': 43, 'w': 84, 'h': 84}, 'face_confidence': 11.496086059487425}]\n", "[{'emotion': {'angry': 1.2497582135839735e-08, 'disgust': 2.643661826181188e-14, 'fear': 1.8961326953004232e-08, 'happy': 99.91433620452881, 'sad': 2.9747642127375684e-07, 'surprise': 3.6199285347038312e-06, 'neutral': 0.08565679308958352}, 'dominant_emotion': 'happy', 'region': {'x': 24, 'y': 43, 'w': 80, 'h': 80}, 'face_confidence': 7.135398932208773}]\n", "[{'emotion': {'angry': 4.2106036096811295, 'disgust': 0.0005104289357404923, 'fear': 24.455556273460388, 'happy': 0.042067503090947866, 'sad': 3.859015181660652, 'surprise': 0.10157860815525055, 'neutral': 67.33067035675049}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 49, 'w': 68, 'h': 68}, 'face_confidence': 10.082921159628313}]\n", "[{'emotion': {'angry': 0.0028306198146310635, 'disgust': 3.1688103530047584e-09, 'fear': 0.04706570762209594, 'happy': 27.03816294670105, 'sad': 69.34276819229126, 'surprise': 1.1828446666584114e-06, 'neutral': 3.5691719502210617}, 'dominant_emotion': 'sad', 'region': {'x': 18, 'y': 36, 'w': 90, 'h': 90}, 'face_confidence': 6.727124051132705}]\n", "[{'emotion': {'angry': 10.749866709105175, 'disgust': 0.000367209508172384, 'fear': 1.1073725958092568, 'happy': 20.46702626151003, 'sad': 11.132319935102458, 'surprise': 0.008584157114975207, 'neutral': 56.534466536907345}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 10.629751034022775}]\n", "[{'emotion': {'angry': 0.14929077588021755, 'disgust': 5.111985921374407e-10, 'fear': 3.981217275850213e-05, 'happy': 92.31678247451782, 'sad': 0.00643742096144706, 'surprise': 7.383728188870009e-05, 'neutral': 7.527375221252441}, 'dominant_emotion': 'happy', 'region': {'x': 31, 'y': 46, 'w': 68, 'h': 68}, 'face_confidence': 6.940220083051827}]\n", "[{'emotion': {'angry': 49.946895248067946, 'disgust': 0.09474932483591737, 'fear': 7.486358137564881, 'happy': 1.051974543693716, 'sad': 18.24012628315374, 'surprise': 0.518843702588236, 'neutral': 22.661042492265405}, 'dominant_emotion': 'angry', 'region': {'x': 21, 'y': 43, 'w': 42, 'h': 42}, 'face_confidence': 7.027614038379397}]\n", "[{'emotion': {'angry': 38.369110226631165, 'disgust': 5.9029873460531235, 'fear': 5.644470825791359, 'happy': 0.5632395856082439, 'sad': 32.596248388290405, 'surprise': 1.2495918199419975, 'neutral': 15.674355626106262}, 'dominant_emotion': 'angry', 'region': {'x': 29, 'y': 48, 'w': 67, 'h': 67}, 'face_confidence': 8.60755800124025}]\n", "[{'emotion': {'angry': 0.4822878632694483, 'disgust': 3.6399057989910943e-05, 'fear': 0.056200457038357854, 'happy': 6.174023821949959, 'sad': 3.5035330802202225, 'surprise': 0.0009690437764220405, 'neutral': 89.7829532623291}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 49, 'w': 65, 'h': 65}, 'face_confidence': 9.04369901510654}]\n", "[{'emotion': {'angry': 2.8761371888690762e-06, 'disgust': 9.322429452209425e-11, 'fear': 6.430812319603971e-05, 'happy': 96.76894526296527, 'sad': 0.00021805239092853435, 'surprise': 0.002290677684979394, 'neutral': 3.2284824239303127}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 51, 'w': 67, 'h': 67}, 'face_confidence': 12.501826111867558}]\n", "[{'emotion': {'angry': 25.398215698983158, 'disgust': 35.922135224596886, 'fear': 2.2334418128063454, 'happy': 0.07174533366542561, 'sad': 19.260517568649956, 'surprise': 0.21214259523363058, 'neutral': 16.90180503151477}, 'dominant_emotion': 'disgust', 'region': {'x': 28, 'y': 48, 'w': 68, 'h': 68}, 'face_confidence': 9.749864093202632}]\n", "[{'emotion': {'angry': 0.022040060139261186, 'disgust': 0.0003207363533874741, 'fear': 0.02830526209436357, 'happy': 81.18493556976318, 'sad': 0.7683855015784502, 'surprise': 0.004084921602043323, 'neutral': 17.99192875623703}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 50, 'w': 64, 'h': 64}, 'face_confidence': 6.704963002994191}]\n", "[{'emotion': {'angry': 26.79240107536316, 'disgust': 0.016859614697750658, 'fear': 15.026569366455078, 'happy': 4.069759696722031, 'sad': 18.442554771900177, 'surprise': 22.38408476114273, 'neutral': 13.267774879932404}, 'dominant_emotion': 'angry', 'region': {'x': 17, 'y': 37, 'w': 92, 'h': 92}, 'face_confidence': 8.79640102799749}]\n", "[{'emotion': {'angry': 60.932499170303345, 'disgust': 0.006806099554523826, 'fear': 0.007545168773503974, 'happy': 0.0028084694349672645, 'sad': 6.9061897695064545, 'surprise': 0.0991478911601007, 'neutral': 32.04500675201416}, 'dominant_emotion': 'angry', 'region': {'x': 29, 'y': 50, 'w': 68, 'h': 68}, 'face_confidence': 12.184199046751019}]\n", "[{'emotion': {'angry': 0.00043113366541981657, 'disgust': 2.9246246819912265e-14, 'fear': 1.269445069232781e-05, 'happy': 7.156841883471125, 'sad': 0.0007362057642676345, 'surprise': 6.568851410218596e-08, 'neutral': 92.84197645437577}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 89, 'h': 89}, 'face_confidence': 7.463284004130401}]\n", "[{'emotion': {'angry': 0.018440166604705155, 'disgust': 2.3003683224942506e-05, 'fear': 0.6099068094044924, 'happy': 79.20359969139099, 'sad': 0.032228443888016045, 'surprise': 0.01264768507098779, 'neutral': 20.123156905174255}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 49, 'w': 65, 'h': 65}, 'face_confidence': 7.791169044969138}]\n", "[{'emotion': {'angry': 5.022650584578514, 'disgust': 0.0009347862032882404, 'fear': 2.066022902727127, 'happy': 0.0016183190382434987, 'sad': 23.77891093492508, 'surprise': 4.6345346049747604e-05, 'neutral': 69.12981867790222}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 52, 'w': 63, 'h': 63}, 'face_confidence': 10.57570596941514}]\n", "[{'emotion': {'angry': 0.8094241842627525, 'disgust': 0.26180874556303024, 'fear': 62.23471760749817, 'happy': 5.546560138463974, 'sad': 8.937215059995651, 'surprise': 0.19200756214559078, 'neutral': 22.018268704414368}, 'dominant_emotion': 'fear', 'region': {'x': 27, 'y': 47, 'w': 73, 'h': 73}, 'face_confidence': 7.3773311012773775}]\n", "[{'emotion': {'angry': 2.051377123724052e-09, 'disgust': 4.065783479226901e-17, 'fear': 5.598149981772549e-10, 'happy': 99.9982476234436, 'sad': 1.5447984003102988e-07, 'surprise': 3.340432097598267e-09, 'neutral': 0.0017513277271063998}, 'dominant_emotion': 'happy', 'region': {'x': 29, 'y': 50, 'w': 66, 'h': 66}, 'face_confidence': 7.920604070299305}]\n", "[{'emotion': {'angry': 0.1420645508915186, 'disgust': 1.8152341851873643e-06, 'fear': 0.08112550131045282, 'happy': 79.63306903839111, 'sad': 0.4712238907814026, 'surprise': 0.011545719462446868, 'neutral': 19.66097205877304}, 'dominant_emotion': 'happy', 'region': {'x': 21, 'y': 43, 'w': 83, 'h': 83}, 'face_confidence': 10.274909049388953}]\n", "[{'emotion': {'angry': 24.600042402744293, 'disgust': 0.004472558066481724, 'fear': 2.024211548268795, 'happy': 0.06478724535554647, 'sad': 33.252984285354614, 'surprise': 1.04181207716465, 'neutral': 39.01169002056122}, 'dominant_emotion': 'neutral', 'region': {'x': 25, 'y': 46, 'w': 71, 'h': 71}, 'face_confidence': 7.952688999590464}]\n", "[{'emotion': {'angry': 0.3831262467429042, 'disgust': 1.2069115672141972e-09, 'fear': 4.070205986499786, 'happy': 0.0023688106011832133, 'sad': 6.035783141851425, 'surprise': 0.00014010473705639015, 'neutral': 89.50837850570679}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 26, 'h': 26}, 'face_confidence': 7.74069311277708}]\n", "[{'emotion': {'angry': 45.286234932317434, 'disgust': 0.010962806771620766, 'fear': 2.409195857298127, 'happy': 5.75517748327121, 'sad': 18.529429646100382, 'surprise': 0.5229486929892715, 'neutral': 27.486051767233118}, 'dominant_emotion': 'angry', 'region': {'x': 19, 'y': 40, 'w': 86, 'h': 86}, 'face_confidence': 8.370657189632766}]\n", "[{'emotion': {'angry': 5.557532981038094, 'disgust': 0.07008233806118369, 'fear': 3.7242863327264786, 'happy': 0.1354607054963708, 'sad': 7.559072971343994, 'surprise': 0.017962054698728025, 'neutral': 82.93560743331909}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 49, 'w': 66, 'h': 66}, 'face_confidence': 9.365461922134273}]\n", "[{'emotion': {'angry': 0.00048469704030604157, 'disgust': 1.1118438647238638e-10, 'fear': 3.901090172495829e-05, 'happy': 99.98533129604645, 'sad': 3.5907145709835006e-05, 'surprise': 0.0060434584120813185, 'neutral': 0.008066090712072147}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 7.423722029605415}]\n", "[{'emotion': {'angry': 1.596890389919281, 'disgust': 8.171726904038223e-05, 'fear': 0.8285300806164742, 'happy': 0.025098322657868266, 'sad': 6.99656680226326, 'surprise': 0.014346629905048758, 'neutral': 90.53848385810852}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 48, 'w': 67, 'h': 67}, 'face_confidence': 8.852144190226682}]\n", "[{'emotion': {'angry': 0.5937135778367519, 'disgust': 0.000401730267185485, 'fear': 0.10827408405020833, 'happy': 0.11413501342758536, 'sad': 3.278529644012451, 'surprise': 0.00018591654225019738, 'neutral': 95.90476155281067}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 46, 'w': 67, 'h': 67}, 'face_confidence': 9.04261507850606}]\n", "[{'emotion': {'angry': 3.020246885716915, 'disgust': 0.00013133354741512449, 'fear': 1.0634626261889935, 'happy': 0.6335779558867216, 'sad': 6.505771726369858, 'surprise': 0.11438415385782719, 'neutral': 88.66242170333862}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 48, 'w': 67, 'h': 67}, 'face_confidence': 10.04241597483633}]\n", "[{'emotion': {'angry': 0.8683112036175253, 'disgust': 9.991269421141471e-05, 'fear': 0.19417103605991817, 'happy': 4.6823463399616685, 'sad': 2.3276488752751874, 'surprise': 0.008348774778956162, 'neutral': 91.9190759610579}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 49, 'w': 66, 'h': 66}, 'face_confidence': 10.366890989651438}]\n", "[{'emotion': {'angry': 14.313051957669972, 'disgust': 3.1571516786308096, 'fear': 66.8277720706327, 'happy': 9.661469439355697, 'sad': 1.678266848818472, 'surprise': 1.92231789513337, 'neutral': 2.439978677927177}, 'dominant_emotion': 'fear', 'region': {'x': 23, 'y': 42, 'w': 80, 'h': 80}, 'face_confidence': 6.430856136314105}]\n", "[{'emotion': {'angry': 2.574849249404579, 'disgust': 0.01364689541217183, 'fear': 42.88211678053341, 'happy': 0.20819443897240628, 'sad': 4.767753007144094, 'surprise': 0.14188993318184415, 'neutral': 49.41155605453921}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 8.744024102285039}]\n", "[{'emotion': {'angry': 0.6459052674472332, 'disgust': 1.1180064103774763e-12, 'fear': 0.0034091619454557076, 'happy': 0.12129745446145535, 'sad': 0.0376029551262036, 'surprise': 0.0001755901621436351, 'neutral': 99.19161200523376}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 46, 'w': 71, 'h': 71}, 'face_confidence': 9.73143109929515}]\n", "[{'emotion': {'angry': 8.748038113117218, 'disgust': 0.001788147710612975, 'fear': 0.7644284516572952, 'happy': 0.3028993494808674, 'sad': 7.815686613321304, 'surprise': 0.12992573902010918, 'neutral': 82.2372317314148}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 46, 'w': 67, 'h': 67}, 'face_confidence': 11.212818088184576}]\n", "[{'emotion': {'angry': 4.357319366432577e-09, 'disgust': 5.835929951640041e-14, 'fear': 6.512149218311503e-11, 'happy': 99.99502897262573, 'sad': 1.889732120785581e-08, 'surprise': 1.0643418590916554e-06, 'neutral': 0.00497106957482174}, 'dominant_emotion': 'happy', 'region': {'x': 22, 'y': 44, 'w': 79, 'h': 79}, 'face_confidence': 6.260606047871988}]\n", "[{'emotion': {'angry': 5.835603708366875e-05, 'disgust': 7.515634003461693e-13, 'fear': 0.00048392719846983973, 'happy': 0.0029341301272244455, 'sad': 3.0038172306905526, 'surprise': 7.881209044401581e-07, 'neutral': 96.99270707325381}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 8.101078049570788}]\n", "[{'emotion': {'angry': 45.24626135826111, 'disgust': 0.3283421974629164, 'fear': 15.865083038806915, 'happy': 0.02536426472943276, 'sad': 32.316237688064575, 'surprise': 0.4275688901543617, 'neutral': 5.791148170828819}, 'dominant_emotion': 'angry', 'region': {'x': 24, 'y': 42, 'w': 81, 'h': 81}, 'face_confidence': 10.009301026293542}]\n", "[{'emotion': {'angry': 0.5507774651050568, 'disgust': 8.970774700856055e-06, 'fear': 26.05193853378296, 'happy': 0.11556374374777079, 'sad': 4.1100163012743, 'surprise': 0.0034153865271946415, 'neutral': 69.16828155517578}, 'dominant_emotion': 'neutral', 'region': {'x': 32, 'y': 50, 'w': 64, 'h': 64}, 'face_confidence': 7.348352111584973}]\n", "[{'emotion': {'angry': 32.161592373942874, 'disgust': 0.04383015591197645, 'fear': 13.110283798592317, 'happy': 0.13207228244526878, 'sad': 19.731843157520483, 'surprise': 0.018193029602387823, 'neutral': 34.80218856347731}, 'dominant_emotion': 'neutral', 'region': {'x': 22, 'y': 42, 'w': 80, 'h': 80}, 'face_confidence': 9.103415141056757}]\n", "[{'emotion': {'angry': 5.663991942128632e-06, 'disgust': 2.7215038314334193e-17, 'fear': 5.095057622334087e-10, 'happy': 99.97370839118958, 'sad': 1.16601350796941e-07, 'surprise': 2.2657480336363278e-07, 'neutral': 0.026290371897630394}, 'dominant_emotion': 'happy', 'region': {'x': 23, 'y': 42, 'w': 79, 'h': 79}, 'face_confidence': 9.12728415231686}]\n", "An error happened\n", "An error happened\n", "[{'emotion': {'angry': 0.15897353661647656, 'disgust': 9.201391983899543e-05, 'fear': 11.811961937663671, 'happy': 6.429335113128133, 'sad': 2.961890017204882, 'surprise': 0.012302483816034127, 'neutral': 78.62544528397592}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 49, 'w': 69, 'h': 69}, 'face_confidence': 12.87111106159864}]\n", "[{'emotion': {'angry': 6.055403489196508, 'disgust': 0.0021336485040872395, 'fear': 1.2592928303356665, 'happy': 0.060438042383673334, 'sad': 6.167427818025817, 'surprise': 0.0025484026691739176, 'neutral': 86.45275750474677}, 'dominant_emotion': 'neutral', 'region': {'x': 27, 'y': 46, 'w': 70, 'h': 70}, 'face_confidence': 7.6661531600984745}]\n", "[{'emotion': {'angry': 58.19816589355469, 'disgust': 2.1069514843929937e-05, 'fear': 0.028551756986416876, 'happy': 0.24898771662265062, 'sad': 5.153816193342209, 'surprise': 5.534125602224549e-07, 'neutral': 36.37045919895172}, 'dominant_emotion': 'angry', 'region': {'x': 25, 'y': 43, 'w': 76, 'h': 76}, 'face_confidence': 8.798000059905462}]\n", "[{'emotion': {'angry': 0.00014713723170897138, 'disgust': 5.53718909310283e-10, 'fear': 0.0002278366900386621, 'happy': 97.72548065933469, 'sad': 4.9639524607460666e-05, 'surprise': 2.27014286936181, 'neutral': 0.003949422406394066}, 'dominant_emotion': 'happy', 'region': {'x': 25, 'y': 45, 'w': 70, 'h': 70}, 'face_confidence': 4.9662991156219505}]\n", "[{'emotion': {'angry': 12.437058985233307, 'disgust': 0.013117174967192113, 'fear': 2.3659570142626762, 'happy': 6.398744881153107, 'sad': 12.21373975276947, 'surprise': 0.02788051206152886, 'neutral': 66.54350161552429}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 45, 'w': 68, 'h': 68}, 'face_confidence': 9.871415160479955}]\n", "[{'emotion': {'angry': 3.1409586043196214e-07, 'disgust': 2.5288166946211242e-12, 'fear': 0.0008191782399080694, 'happy': 33.232393860816956, 'sad': 0.0004549913683149498, 'surprise': 0.012475982657633722, 'neutral': 66.75385236740112}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 48, 'w': 64, 'h': 64}, 'face_confidence': 9.460446032811888}]\n", "[{'emotion': {'angry': 0.00017812011417234298, 'disgust': 3.1877374863546505e-08, 'fear': 0.00035123220915770986, 'happy': 99.48059317353923, 'sad': 0.0025623490436611127, 'surprise': 0.00021381018906346485, 'neutral': 0.5160974646268764}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 8.520302185730543}]\n", "[{'emotion': {'angry': 9.159936755895615, 'disgust': 1.5584175061533756e-07, 'fear': 1.125171035528183, 'happy': 0.011554342199815437, 'sad': 15.546604990959167, 'surprise': 0.0002514038442313904, 'neutral': 74.15648102760315}, 'dominant_emotion': 'neutral', 'region': {'x': 21, 'y': 41, 'w': 85, 'h': 85}, 'face_confidence': 6.433095017739106}]\n", "[{'emotion': {'angry': 6.2755475858453546e-06, 'disgust': 1.2483110479037697e-08, 'fear': 8.883747775062683e-06, 'happy': 98.50661736805647, 'sad': 2.5530109072662943e-06, 'surprise': 4.324608387341933e-06, 'neutral': 1.4933565549083418}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 49, 'w': 66, 'h': 66}, 'face_confidence': 6.873799056862481}]\n", "[{'emotion': {'angry': 39.16436731815338, 'disgust': 0.0020858178686467, 'fear': 2.5672852993011475, 'happy': 0.21494782995432615, 'sad': 28.177353739738464, 'surprise': 0.04531173035502434, 'neutral': 29.828640818595886}, 'dominant_emotion': 'angry', 'region': {'x': 32, 'y': 48, 'w': 64, 'h': 64}, 'face_confidence': 9.59712905989727}]\n", "[{'emotion': {'angry': 10.705894976854324, 'disgust': 0.03837771655526012, 'fear': 1.6589123755693436, 'happy': 3.5584960132837296, 'sad': 11.29542589187622, 'surprise': 0.2237472217530012, 'neutral': 72.51914143562317}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 49, 'w': 66, 'h': 66}, 'face_confidence': 10.739998011093121}]\n", "[{'emotion': {'angry': 0.0018607964703748485, 'disgust': 2.9766678015605048e-05, 'fear': 0.05629596909891437, 'happy': 89.37677867689386, 'sad': 0.025734826182892776, 'surprise': 0.0138924338708338, 'neutral': 10.525399681878127}, 'dominant_emotion': 'happy', 'region': {'x': 27, 'y': 45, 'w': 71, 'h': 71}, 'face_confidence': 9.84888907324057}]\n", "[{'emotion': {'angry': 0.09490795200690627, 'disgust': 0.002649296948220581, 'fear': 97.08662629127502, 'happy': 0.9411937557160854, 'sad': 1.311397086828947, 'surprise': 0.48292740248143673, 'neutral': 0.08030427270568907}, 'dominant_emotion': 'fear', 'region': {'x': 32, 'y': 48, 'w': 66, 'h': 66}, 'face_confidence': 6.864284058276098}]\n", "[{'emotion': {'angry': 3.913255142151684e-06, 'disgust': 1.4035986457307248e-11, 'fear': 1.4980560791855169e-06, 'happy': 99.90481734275818, 'sad': 0.0004990531124349218, 'surprise': 0.0021049609131296165, 'neutral': 0.09257770143449306}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 49, 'w': 63, 'h': 63}, 'face_confidence': 11.855277191963978}]\n", "[{'emotion': {'angry': 2.2913984954357147, 'disgust': 0.04104863910470158, 'fear': 9.897728264331818, 'happy': 9.756923466920853, 'sad': 11.961458623409271, 'surprise': 0.28226457070559263, 'neutral': 65.76917767524719}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 50, 'w': 64, 'h': 64}, 'face_confidence': 10.852243011759128}]\n", "[{'emotion': {'angry': 18.063296377658844, 'disgust': 0.015953771071508527, 'fear': 0.4153822083026171, 'happy': 3.3130813390016556, 'sad': 7.754295319318771, 'surprise': 0.19287182949483395, 'neutral': 70.2451229095459}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 49, 'w': 67, 'h': 67}, 'face_confidence': 9.24415403988678}]\n", "[{'emotion': {'angry': 7.706816494464874, 'disgust': 0.31329982448369265, 'fear': 7.086138427257538, 'happy': 0.1560478238388896, 'sad': 43.492671847343445, 'surprise': 0.004519512003753334, 'neutral': 41.24050438404083}, 'dominant_emotion': 'sad', 'region': {'x': 17, 'y': 37, 'w': 29, 'h': 29}, 'face_confidence': 11.525053027900867}]\n", "[{'emotion': {'angry': 2.6089556249467166e-05, 'disgust': 2.9159027154461e-06, 'fear': 0.002227021419412336, 'happy': 94.15088261073129, 'sad': 0.010614062826428582, 'surprise': 0.0008935545870917789, 'neutral': 5.835355421027864}, 'dominant_emotion': 'happy', 'region': {'x': 29, 'y': 49, 'w': 64, 'h': 64}, 'face_confidence': 8.181749019946437}]\n", "[{'emotion': {'angry': 67.15860366821289, 'disgust': 0.0007058255050651496, 'fear': 1.3057629577815533, 'happy': 2.512264624238014, 'sad': 11.569765955209732, 'surprise': 1.1837190017104149, 'neutral': 16.26918315887451}, 'dominant_emotion': 'angry', 'region': {'x': 17, 'y': 38, 'w': 91, 'h': 91}, 'face_confidence': 9.770325014542323}]\n", "[{'emotion': {'angry': 27.838920226032748, 'disgust': 0.00042292206464173473, 'fear': 10.971777050005022, 'happy': 0.4071143698462468, 'sad': 14.408023024083557, 'surprise': 0.07575228679752569, 'neutral': 46.29799403536284}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 38, 'w': 91, 'h': 91}, 'face_confidence': 7.9675280474475585}]\n", "[{'emotion': {'angry': 0.6335295736789703, 'disgust': 1.0683574025449616e-07, 'fear': 23.162657022476196, 'happy': 9.845920203588321e-05, 'sad': 65.9738540649414, 'surprise': 0.00013070547311144765, 'neutral': 10.229731351137161}, 'dominant_emotion': 'sad', 'region': {'x': 18, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 7.06974511401495}]\n", "[{'emotion': {'angry': 10.85722138626703, 'disgust': 0.4144668360481761, 'fear': 64.09483934014078, 'happy': 0.004023472378032498, 'sad': 15.51629695393425, 'surprise': 4.7839838137617, 'neutral': 4.329170172165046}, 'dominant_emotion': 'fear', 'region': {'x': 18, 'y': 36, 'w': 90, 'h': 90}, 'face_confidence': 10.358327118854504}]\n", "[{'emotion': {'angry': 9.820019242212652e-08, 'disgust': 5.1475340951719515e-17, 'fear': 1.5736886238570946e-07, 'happy': 99.57410097122192, 'sad': 7.728969109166428e-06, 'surprise': 4.4940273369320494e-05, 'neutral': 0.42584934271872044}, 'dominant_emotion': 'happy', 'region': {'x': 21, 'y': 42, 'w': 83, 'h': 83}, 'face_confidence': 10.344003015605267}]\n", "[{'emotion': {'angry': 4.4379805785865756e-05, 'disgust': 5.47442730118022e-13, 'fear': 2.966928036585159e-06, 'happy': 63.53011727333069, 'sad': 0.00027241051157034235, 'surprise': 2.5726427210770453e-06, 'neutral': 36.469560861587524}, 'dominant_emotion': 'happy', 'region': {'x': 24, 'y': 43, 'w': 81, 'h': 81}, 'face_confidence': 9.219723966147285}]\n", "[{'emotion': {'angry': 2.7395662379781918, 'disgust': 0.011679516382303, 'fear': 15.944686121381984, 'happy': 1.446400037837024, 'sad': 8.784375037625427, 'surprise': 0.01501628833628734, 'neutral': 71.05827080508818}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 50, 'w': 68, 'h': 68}, 'face_confidence': 11.149614012276288}]\n", "[{'emotion': {'angry': 0.2420913805196512, 'disgust': 5.169539692366552e-11, 'fear': 5.243998401666139e-05, 'happy': 7.795996683597367, 'sad': 0.23589701400828444, 'surprise': 0.008541856150076532, 'neutral': 91.71742151483426}, 'dominant_emotion': 'neutral', 'region': {'x': 15, 'y': 36, 'w': 94, 'h': 94}, 'face_confidence': 8.861028052750044}]\n", "[{'emotion': {'angry': 9.938715948010213e-05, 'disgust': 2.3923395274343118e-11, 'fear': 1.5863894020640146e-05, 'happy': 97.69042134284973, 'sad': 0.00021906655547354603, 'surprise': 0.0003984299382864265, 'neutral': 2.3088470101356506}, 'dominant_emotion': 'happy', 'region': {'x': 23, 'y': 43, 'w': 83, 'h': 83}, 'face_confidence': 7.418131055950653}]\n", "[{'emotion': {'angry': 5.0217680633068085, 'disgust': 0.0001739091430863482, 'fear': 0.12204693630337715, 'happy': 0.034155588946305215, 'sad': 5.088804289698601, 'surprise': 0.00038659636629745364, 'neutral': 89.7326648235321}, 'dominant_emotion': 'neutral', 'region': {'x': 18, 'y': 37, 'w': 29, 'h': 29}, 'face_confidence': 6.86413004033966}]\n", "An error happened\n", "[{'emotion': {'angry': 0.013603806375193976, 'disgust': 0.01446116452618924, 'fear': 1.7153826633323825, 'happy': 82.55801692950827, 'sad': 0.32117983378051723, 'surprise': 0.0478821980668797, 'neutral': 15.329475124447056}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 39, 'w': 90, 'h': 90}, 'face_confidence': 9.378876031085383}]\n", "[{'emotion': {'angry': 5.0774204580682885e-05, 'disgust': 9.789768863402953e-12, 'fear': 8.236242401626789e-07, 'happy': 91.98013496280521, 'sad': 0.00016033786597099823, 'surprise': 6.334754432229571e-07, 'neutral': 8.01965046046081}, 'dominant_emotion': 'happy', 'region': {'x': 31, 'y': 50, 'w': 68, 'h': 68}, 'face_confidence': 10.06172393396264}]\n", "[{'emotion': {'angry': 0.008480386895826086, 'disgust': 5.3568374779391914e-11, 'fear': 3.591396477986564e-05, 'happy': 66.83908104896545, 'sad': 0.00027264761683909455, 'surprise': 0.00030043941023905063, 'neutral': 33.1518292427063}, 'dominant_emotion': 'happy', 'region': {'x': 20, 'y': 42, 'w': 83, 'h': 83}, 'face_confidence': 9.528648176172283}]\n", "[{'emotion': {'angry': 0.030595430871471763, 'disgust': 1.2887096945135568e-08, 'fear': 0.020282472542021424, 'happy': 0.01355950953438878, 'sad': 0.13201794354245067, 'surprise': 0.0006058184681023704, 'neutral': 99.80294108390808}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 26, 'h': 26}, 'face_confidence': 12.172578129160684}]\n", "An error happened\n", "[{'emotion': {'angry': 9.720973977132415e-08, 'disgust': 4.2278053688507594e-14, 'fear': 1.719199439922787e-05, 'happy': 99.96975660684626, 'sad': 2.796652957783502e-05, 'surprise': 0.025085310255252093, 'neutral': 0.005108614396161733}, 'dominant_emotion': 'happy', 'region': {'x': 22, 'y': 43, 'w': 79, 'h': 79}, 'face_confidence': 5.555531064455863}]\n", "[{'emotion': {'angry': 3.2731529661390164e-06, 'disgust': 6.019698553577763e-10, 'fear': 0.04780765151110449, 'happy': 99.87260102466351, 'sad': 0.0009012592809676137, 'surprise': 0.0023818116061142115, 'neutral': 0.0763076170195709}, 'dominant_emotion': 'happy', 'region': {'x': 27, 'y': 45, 'w': 76, 'h': 76}, 'face_confidence': 9.169718021003064}]\n", "[{'emotion': {'angry': 0.48221503384411335, 'disgust': 2.6871396130445646e-05, 'fear': 0.32443152740597725, 'happy': 97.49283194541931, 'sad': 0.05669518723152578, 'surprise': 0.003227437991881743, 'neutral': 1.6405744478106499}, 'dominant_emotion': 'happy', 'region': {'x': 33, 'y': 49, 'w': 64, 'h': 64}, 'face_confidence': 7.958972105931025}]\n", "An error happened\n", "[{'emotion': {'angry': 0.053746736375615, 'disgust': 2.757349741328713e-11, 'fear': 1.4138044068801037e-07, 'happy': 99.93957281112671, 'sad': 0.00016375390714529203, 'surprise': 2.4637705570300958e-14, 'neutral': 0.006523297633975744}, 'dominant_emotion': 'happy', 'region': {'x': 16, 'y': 39, 'w': 52, 'h': 52}, 'face_confidence': 4.515340972284321}]\n", "[{'emotion': {'angry': 0.00025624747195251985, 'disgust': 2.2919556851682225e-22, 'fear': 3.2436101011143866e-16, 'happy': 99.99841451644897, 'sad': 8.135103701789603e-10, 'surprise': 2.417253138105313e-11, 'neutral': 0.0013324196515895892}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 38, 'w': 90, 'h': 90}, 'face_confidence': 5.126689071650617}]\n", "[{'emotion': {'angry': 69.00974923430378, 'disgust': 7.928237455039353e-05, 'fear': 6.979440568652187, 'happy': 0.08430812661137442, 'sad': 7.541113796300518, 'surprise': 2.09119332380255, 'neutral': 14.294114070779925}, 'dominant_emotion': 'angry', 'region': {'x': 30, 'y': 48, 'w': 68, 'h': 68}, 'face_confidence': 7.112057113728952}]\n", "An error happened\n", "[{'emotion': {'angry': 1.4473895172673057e-09, 'disgust': 4.409587013956056e-24, 'fear': 1.912966451911302e-07, 'happy': 8.459194716231577e-11, 'sad': 59.18112397193909, 'surprise': 8.12101378577547e-20, 'neutral': 40.81887602806091}, 'dominant_emotion': 'sad', 'region': {'x': 217, 'y': 153, 'w': 59, 'h': 59}, 'face_confidence': 7.8977740239934064}, {'emotion': {'angry': 0.02156133397242555, 'disgust': 0.015163191159203867, 'fear': 97.35013230741812, 'happy': 3.3831466122389304e-10, 'sad': 1.8726120887763553, 'surprise': 0.7373908508503945, 'neutral': 0.0031383895526937503}, 'dominant_emotion': 'fear', 'region': {'x': 110, 'y': 151, 'w': 59, 'h': 59}, 'face_confidence': 0.9503700968925841}, {'emotion': {'angry': 3.600531715350603e-11, 'disgust': 4.673322266625296e-17, 'fear': 8.445955622044984e-14, 'happy': 99.98114705310499, 'sad': 3.7994014512791894e-08, 'surprise': 2.2119410331085555e-07, 'neutral': 0.018848537665221075}, 'dominant_emotion': 'happy', 'region': {'x': 113, 'y': 283, 'w': 57, 'h': 57}, 'face_confidence': 7.123872954107355}]\n", "[{'emotion': {'angry': 0.1224197011159004, 'disgust': 0.002272089566583712, 'fear': 0.034911146008993206, 'happy': 80.90573321649232, 'sad': 0.0030177932745102227, 'surprise': 0.014936732220837589, 'neutral': 18.916713466252503}, 'dominant_emotion': 'happy', 'region': {'x': 29, 'y': 47, 'w': 69, 'h': 69}, 'face_confidence': 5.951975121104624}]\n", "[{'emotion': {'angry': 2.087282513107954, 'disgust': 0.026892058372326687, 'fear': 64.86254753320843, 'happy': 0.1615385681605556, 'sad': 16.684385635330006, 'surprise': 0.017999973388857587, 'neutral': 16.159344773370652}, 'dominant_emotion': 'fear', 'region': {'x': 29, 'y': 47, 'w': 70, 'h': 70}, 'face_confidence': 10.405093111447059}]\n", "[{'emotion': {'angry': 0.0004486344096221728, 'disgust': 1.1636114294333311e-07, 'fear': 9.286550834985974e-05, 'happy': 2.486039325594902, 'sad': 97.4135160446167, 'surprise': 2.5082247390173507e-08, 'neutral': 0.09990312391892076}, 'dominant_emotion': 'sad', 'region': {'x': 21, 'y': 43, 'w': 84, 'h': 84}, 'face_confidence': 3.404914162529167}]\n", "[{'emotion': {'angry': 0.6364091213142348, 'disgust': 0.0034407769139713816, 'fear': 0.009237814634079241, 'happy': 2.5285394506776004, 'sad': 3.53282115059025, 'surprise': 4.461984399241018e-05, 'neutral': 93.28950603541767}, 'dominant_emotion': 'neutral', 'region': {'x': 31, 'y': 44, 'w': 69, 'h': 69}, 'face_confidence': 9.734216083947103}]\n", "[{'emotion': {'angry': 98.11020493507385, 'disgust': 0.0001702507006484666, 'fear': 0.04177127848379314, 'happy': 1.0251922333281982e-05, 'sad': 1.7936432734131813, 'surprise': 0.00044945691115572117, 'neutral': 0.05375377368181944}, 'dominant_emotion': 'angry', 'region': {'x': 21, 'y': 41, 'w': 82, 'h': 82}, 'face_confidence': 7.510893074970227}]\n", "[{'emotion': {'angry': 0.0007490516964026028, 'disgust': 6.900498448409288e-22, 'fear': 3.2134100068359484e-10, 'happy': 99.99575614929199, 'sad': 1.3707248877614653e-09, 'surprise': 1.178050305960035e-11, 'neutral': 0.0034964425140060484}, 'dominant_emotion': 'happy', 'region': {'x': 21, 'y': 36, 'w': 166, 'h': 166}, 'face_confidence': 11.212394097528886}]\n", "[{'emotion': {'angry': 0.0004893728601018665, 'disgust': 1.4281109931776892e-10, 'fear': 1.7204159870743752, 'happy': 63.51218819618225, 'sad': 0.08195172413252294, 'surprise': 0.40641319938004017, 'neutral': 34.278541803359985}, 'dominant_emotion': 'happy', 'region': {'x': 25, 'y': 44, 'w': 76, 'h': 76}, 'face_confidence': 8.724004034709651}]\n", "[{'emotion': {'angry': 0.05534046717586014, 'disgust': 4.835714585170847e-12, 'fear': 0.09122512496373057, 'happy': 2.4428314234803106e-05, 'sad': 3.674567425302574, 'surprise': 0.00028471171179468596, 'neutral': 96.17855594413805}, 'dominant_emotion': 'neutral', 'region': {'x': 14, 'y': 33, 'w': 98, 'h': 98}, 'face_confidence': 7.674282082763966}]\n", "[{'emotion': {'angry': 0.03634519234765321, 'disgust': 7.744991314950767e-08, 'fear': 18.225902318954468, 'happy': 0.006398613913916051, 'sad': 81.71584010124207, 'surprise': 1.407799743446958e-05, 'neutral': 0.015507146599702537}, 'dominant_emotion': 'sad', 'region': {'x': 21, 'y': 40, 'w': 81, 'h': 81}, 'face_confidence': 10.3766060382477}]\n", "[{'emotion': {'angry': 0.0011398627066228073, 'disgust': 1.5795363628168246e-08, 'fear': 5.0163572495875997e-05, 'happy': 52.30528116226196, 'sad': 0.30240274500101805, 'surprise': 2.9489723996078965e-07, 'neutral': 47.391125559806824}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 47, 'w': 67, 'h': 67}, 'face_confidence': 9.481134076078888}]\n", "[{'emotion': {'angry': 5.889558419585228, 'disgust': 0.00018820271634467645, 'fear': 12.634065747261047, 'happy': 6.167295947670937, 'sad': 40.5373752117157, 'surprise': 0.12435218086466193, 'neutral': 34.64716672897339}, 'dominant_emotion': 'sad', 'region': {'x': 15, 'y': 34, 'w': 54, 'h': 54}, 'face_confidence': 7.1285121335531585}]\n", "[{'emotion': {'angry': 1.030566357076168, 'disgust': 9.050426207080076e-10, 'fear': 4.31008174928138e-05, 'happy': 95.29408812522888, 'sad': 0.0035401062632445246, 'surprise': 8.93503397492168e-05, 'neutral': 3.6716725677251816}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 38, 'w': 89, 'h': 89}, 'face_confidence': 6.5564441354363225}]\n", "[{'emotion': {'angry': 6.270523369312286, 'disgust': 0.011205398914171383, 'fear': 57.31493830680847, 'happy': 0.15313767362385988, 'sad': 14.922825992107391, 'surprise': 0.3691151272505522, 'neutral': 20.958255231380463}, 'dominant_emotion': 'fear', 'region': {'x': 28, 'y': 46, 'w': 75, 'h': 75}, 'face_confidence': 8.338802046317142}]\n", "[{'emotion': {'angry': 8.183972537517548, 'disgust': 2.613642746919924e-15, 'fear': 3.4496753897883536e-06, 'happy': 90.75170159339905, 'sad': 0.0014302420822787099, 'surprise': 4.088672759736123e-11, 'neutral': 1.0628972202539444}, 'dominant_emotion': 'happy', 'region': {'x': 16, 'y': 37, 'w': 52, 'h': 52}, 'face_confidence': 8.526932118809782}]\n", "[{'emotion': {'angry': 0.2357553457841277, 'disgust': 0.0026381627321825363, 'fear': 0.0916884804610163, 'happy': 94.0730094909668, 'sad': 0.18895661924034357, 'surprise': 0.002961651625810191, 'neutral': 5.404990166425705}, 'dominant_emotion': 'happy', 'region': {'x': 17, 'y': 37, 'w': 51, 'h': 51}, 'face_confidence': 6.866065150767099}]\n", "[{'emotion': {'angry': 11.739491671323776, 'disgust': 0.00010551029845373705, 'fear': 0.63527119345963, 'happy': 1.8823254853487015, 'sad': 7.159233838319778, 'surprise': 0.007578077929792926, 'neutral': 78.57599258422852}, 'dominant_emotion': 'neutral', 'region': {'x': 30, 'y': 48, 'w': 66, 'h': 66}, 'face_confidence': 6.435605143138673}]\n", "[{'emotion': {'angry': 57.63686804331922, 'disgust': 5.849511149806388e-09, 'fear': 0.03170208860387342, 'happy': 0.20039454041933533, 'sad': 2.781967673365155, 'surprise': 0.0023580244405175294, 'neutral': 39.346699196493724}, 'dominant_emotion': 'angry', 'region': {'x': 15, 'y': 34, 'w': 96, 'h': 96}, 'face_confidence': 4.101602091395762}]\n", "[{'emotion': {'angry': 20.097562670707703, 'disgust': 2.072828131360893e-06, 'fear': 0.6098267156630754, 'happy': 66.07326865196228, 'sad': 0.11805243557319045, 'surprise': 0.0001732757027639309, 'neutral': 13.101117312908173}, 'dominant_emotion': 'happy', 'region': {'x': 30, 'y': 47, 'w': 66, 'h': 66}, 'face_confidence': 7.219492129457649}]\n", "[{'emotion': {'angry': 22.426465153694153, 'disgust': 8.234832904463474e-06, 'fear': 0.0031055686122272164, 'happy': 3.7928465753793716, 'sad': 0.39747506380081177, 'surprise': 0.014956554514355958, 'neutral': 73.36513996124268}, 'dominant_emotion': 'neutral', 'region': {'x': 23, 'y': 40, 'w': 84, 'h': 84}, 'face_confidence': 9.363120088994037}]\n", "[{'emotion': {'angry': 59.74584221839905, 'disgust': 4.872342085349146e-07, 'fear': 0.039125539478845894, 'happy': 7.167310267686844, 'sad': 2.2379253059625626, 'surprise': 0.005774865712737665, 'neutral': 30.804023146629333}, 'dominant_emotion': 'angry', 'region': {'x': 25, 'y': 39, 'w': 83, 'h': 83}, 'face_confidence': 7.26499109074939}]\n", "[{'emotion': {'angry': 11.107341200113297, 'disgust': 9.410880608129446e-06, 'fear': 2.763875015079975, 'happy': 2.3001177236437798, 'sad': 6.353592872619629, 'surprise': 0.5333778914064169, 'neutral': 76.9416868686676}, 'dominant_emotion': 'neutral', 'region': {'x': 36, 'y': 46, 'w': 66, 'h': 66}, 'face_confidence': 7.997492047667038}]\n", "[{'emotion': {'angry': 6.62674182194678e-06, 'disgust': 2.88214276663451e-11, 'fear': 0.03675823099911213, 'happy': 29.900071024894714, 'sad': 0.0020832880181842484, 'surprise': 3.2400425523519516, 'neutral': 66.82104468345642}, 'dominant_emotion': 'neutral', 'region': {'x': 25, 'y': 46, 'w': 71, 'h': 71}, 'face_confidence': 9.095204212877434}]\n", "[{'emotion': {'angry': 25.227342559536847, 'disgust': 0.0003884935499266369, 'fear': 19.205438745345994, 'happy': 0.22800370547197493, 'sad': 48.86060946348962, 'surprise': 0.0061186114189598064, 'neutral': 6.472099958187339}, 'dominant_emotion': 'sad', 'region': {'x': 21, 'y': 43, 'w': 80, 'h': 80}, 'face_confidence': 4.835350078006741}]\n", "[{'emotion': {'angry': 0.0005322756805981044, 'disgust': 7.218195037239639e-05, 'fear': 0.02724897931329906, 'happy': 96.06586694717407, 'sad': 0.14950004406273365, 'surprise': 0.010047453542938456, 'neutral': 3.7467308342456818}, 'dominant_emotion': 'happy', 'region': {'x': 17, 'y': 39, 'w': 50, 'h': 50}, 'face_confidence': 7.513481011555996}]\n", "[{'emotion': {'angry': 22.47806191444397, 'disgust': 1.2613691202645327e-07, 'fear': 3.1076990580913844e-05, 'happy': 70.16538977622986, 'sad': 0.18472548108547926, 'surprise': 0.00044501157390186563, 'neutral': 7.171343266963959}, 'dominant_emotion': 'happy', 'region': {'x': 16, 'y': 37, 'w': 91, 'h': 91}, 'face_confidence': 4.432417974923737}]\n", "[{'emotion': {'angry': 0.011122853902634233, 'disgust': 2.894105080031295e-05, 'fear': 0.012265374243725091, 'happy': 73.71767163276672, 'sad': 0.03650143335107714, 'surprise': 0.006123648927314207, 'neutral': 26.216289401054382}, 'dominant_emotion': 'happy', 'region': {'x': 16, 'y': 36, 'w': 55, 'h': 55}, 'face_confidence': 8.525724109902512}]\n", "[{'emotion': {'angry': 0.0037423607864184305, 'disgust': 2.679247882581004e-10, 'fear': 0.00016553047998968395, 'happy': 9.334944188594818, 'sad': 0.0014759271834918763, 'surprise': 0.0002878322902688524, 'neutral': 90.65938591957092}, 'dominant_emotion': 'neutral', 'region': {'x': 28, 'y': 44, 'w': 74, 'h': 74}, 'face_confidence': 5.886934104782995}]\n", "[{'emotion': {'angry': 0.28084698133170605, 'disgust': 1.457387241998731e-05, 'fear': 0.09072913671843708, 'happy': 0.5078711546957493, 'sad': 3.7348728626966476, 'surprise': 0.007131582242436707, 'neutral': 95.37853598594666}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 27, 'h': 27}, 'face_confidence': 7.242935069545638}]\n", "[{'emotion': {'angry': 8.36432093365147e-05, 'disgust': 5.514352863222882e-10, 'fear': 98.66254329681396, 'happy': 0.1441138214431703, 'sad': 1.1506368406116962, 'surprise': 3.985223706592933e-07, 'neutral': 0.042624404886737466}, 'dominant_emotion': 'fear', 'region': {'x': 20, 'y': 39, 'w': 83, 'h': 83}, 'face_confidence': 3.9230781047954224}]\n", "[{'emotion': {'angry': 2.6407556608319283, 'disgust': 0.0007935575922601856, 'fear': 10.024631023406982, 'happy': 37.03440725803375, 'sad': 3.699841722846031, 'surprise': 0.49131973646581173, 'neutral': 46.10825777053833}, 'dominant_emotion': 'neutral', 'region': {'x': 29, 'y': 46, 'w': 69, 'h': 69}, 'face_confidence': 5.846277051081415}]\n", "[{'emotion': {'angry': 88.84143233299255, 'disgust': 1.2914734837110586e-07, 'fear': 0.10978075442835689, 'happy': 3.850002769922867e-05, 'sad': 10.928677767515182, 'surprise': 4.844075007781612e-06, 'neutral': 0.12006936594843864}, 'dominant_emotion': 'angry', 'region': {'x': 24, 'y': 43, 'w': 78, 'h': 78}, 'face_confidence': 6.7729660425684415}]\n", "[{'emotion': {'angry': 2.7635130532964205e-11, 'disgust': 1.5872413735822098e-20, 'fear': 4.58025728000765e-08, 'happy': 99.96216892970615, 'sad': 3.75378535369932e-09, 'surprise': 0.006653494743698894, 'neutral': 0.031177000021867456}, 'dominant_emotion': 'happy', 'region': {'x': 23, 'y': 45, 'w': 159, 'h': 159}, 'face_confidence': 10.207711091381498}]\n", "[{'emotion': {'angry': 28.336608409881592, 'disgust': 0.0010998138350259978, 'fear': 0.030516096740029752, 'happy': 0.037524919025599957, 'sad': 12.914769351482391, 'surprise': 0.035352836130186915, 'neutral': 58.64412784576416}, 'dominant_emotion': 'neutral', 'region': {'x': 21, 'y': 39, 'w': 86, 'h': 86}, 'face_confidence': 4.401917022129055}]\n", "[{'emotion': {'angry': 4.648112410194422, 'disgust': 0.044874215146479914, 'fear': 80.41714909178907, 'happy': 6.381685667138438, 'sad': 6.35489263265685, 'surprise': 0.0005630570166436015, 'neutral': 2.152728231413855}, 'dominant_emotion': 'fear', 'region': {'x': 29, 'y': 49, 'w': 66, 'h': 66}, 'face_confidence': 4.996889990172349}]\n", "[{'emotion': {'angry': 0.08191906775873217, 'disgust': 0.0003613190959720819, 'fear': 0.002475441874104142, 'happy': 99.8216092373859, 'sad': 0.00017473049447496613, 'surprise': 2.3979856694575372e-05, 'neutral': 0.09343552469252345}, 'dominant_emotion': 'happy', 'region': {'x': 16, 'y': 37, 'w': 54, 'h': 54}, 'face_confidence': 10.300109199190047}]\n", "[{'emotion': {'angry': 0.7326905149966478, 'disgust': 1.1548368927805086e-07, 'fear': 0.0022693351638736203, 'happy': 5.650363489985466, 'sad': 0.16857482260093093, 'surprise': 0.003291651592007838, 'neutral': 93.44281554222107}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 39, 'w': 28, 'h': 28}, 'face_confidence': 5.998646995343734}]\n", "[{'emotion': {'angry': 1.0566074401140213, 'disgust': 8.86244799335606e-11, 'fear': 2.3542911264939903e-05, 'happy': 98.53795170783997, 'sad': 0.00011031294206986786, 'surprise': 2.9114450433853634e-09, 'neutral': 0.4053052980452776}, 'dominant_emotion': 'happy', 'region': {'x': 14, 'y': 35, 'w': 96, 'h': 96}, 'face_confidence': 6.474801115167793}]\n", "[{'emotion': {'angry': 1.5643529503955551e-13, 'disgust': 1.1846791465448171e-29, 'fear': 2.8279046395158276e-21, 'happy': 99.72541330608209, 'sad': 3.231635429809094e-08, 'surprise': 4.346097993398159e-18, 'neutral': 0.27458825388331737}, 'dominant_emotion': 'happy', 'region': {'x': 17, 'y': 37, 'w': 53, 'h': 53}, 'face_confidence': 9.320983047771733}]\n", "[{'emotion': {'angry': 15.537526639552512, 'disgust': 0.27512655836353056, 'fear': 6.819805909383649, 'happy': 6.77603598094201, 'sad': 46.152367958567616, 'surprise': 3.395748340830108, 'neutral': 21.043392780029343}, 'dominant_emotion': 'sad', 'region': {'x': 19, 'y': 35, 'w': 91, 'h': 91}, 'face_confidence': 10.347921110806055}]\n", "[{'emotion': {'angry': 0.7755525869044765, 'disgust': 1.503603736010519e-11, 'fear': 0.0004004682546021059, 'happy': 0.1069855421727052, 'sad': 0.20115785370413705, 'surprise': 0.471515916617622, 'neutral': 98.44439011149288}, 'dominant_emotion': 'neutral', 'region': {'x': 25, 'y': 44, 'w': 78, 'h': 78}, 'face_confidence': 10.611600036441814}]\n", "[{'emotion': {'angry': 87.05384885622873, 'disgust': 9.59804654578633e-07, 'fear': 0.04831043776708093, 'happy': 0.0030787756226879734, 'sad': 9.254272669044415, 'surprise': 0.0013227260993768548, 'neutral': 3.6391607804106734}, 'dominant_emotion': 'angry', 'region': {'x': 20, 'y': 40, 'w': 89, 'h': 89}, 'face_confidence': 4.570026201137807}]\n", "[{'emotion': {'angry': 5.077689880059633e-14, 'disgust': 1.1435715210003477e-22, 'fear': 5.352687490836096e-13, 'happy': 99.99979734420776, 'sad': 8.76066051842296e-12, 'surprise': 4.319373363755735e-12, 'neutral': 0.00020246395706635667}, 'dominant_emotion': 'happy', 'region': {'x': 31, 'y': 48, 'w': 67, 'h': 67}, 'face_confidence': 5.57689302630024}]\n", "[{'emotion': {'angry': 99.99684095420349, 'disgust': 4.914697391119864e-14, 'fear': 0.000661138177150221, 'happy': 1.9948645910739478e-08, 'sad': 0.0024923697067789526, 'surprise': 2.6006600454472936e-10, 'neutral': 3.29488113039437e-06}, 'dominant_emotion': 'angry', 'region': {'x': 24, 'y': 41, 'w': 80, 'h': 80}, 'face_confidence': 5.13822909531882}]\n", "[{'emotion': {'angry': 0.7084453012794256, 'disgust': 0.0019495926608215086, 'fear': 21.507902443408966, 'happy': 65.31878709793091, 'sad': 0.8532232604920864, 'surprise': 0.27835716027766466, 'neutral': 11.331337690353394}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 37, 'w': 89, 'h': 89}, 'face_confidence': 7.171645064547192}]\n", "[{'emotion': {'angry': 1.7315123230218887, 'disgust': 6.706977728754282e-05, 'fear': 3.991231694817543, 'happy': 47.912004590034485, 'sad': 3.295886144042015, 'surprise': 0.006414196104742587, 'neutral': 43.062880635261536}, 'dominant_emotion': 'happy', 'region': {'x': 28, 'y': 49, 'w': 68, 'h': 68}, 'face_confidence': 10.267789135104977}]\n", "[{'emotion': {'angry': 0.018406247545499355, 'disgust': 8.623156355636041e-09, 'fear': 0.011987332254648209, 'happy': 0.03731403558049351, 'sad': 0.40439777076244354, 'surprise': 0.0032506188290426508, 'neutral': 99.52464699745178}, 'dominant_emotion': 'neutral', 'region': {'x': 19, 'y': 38, 'w': 28, 'h': 28}, 'face_confidence': 8.413846958836075}]\n", "[{'emotion': {'angry': 4.237141832709312, 'disgust': 1.477773103886193e-06, 'fear': 17.365528643131256, 'happy': 0.0075762131018564105, 'sad': 37.47586905956268, 'surprise': 0.028846992063336074, 'neutral': 40.88503420352936}, 'dominant_emotion': 'neutral', 'region': {'x': 22, 'y': 38, 'w': 86, 'h': 86}, 'face_confidence': 7.763360115408432}]\n", "[{'emotion': {'angry': 1.9171012914082643e-16, 'disgust': 6.206001084670814e-22, 'fear': 1.8560738629234312e-13, 'happy': 99.9994158744812, 'sad': 2.6753896475062607e-12, 'surprise': 2.781338900241081e-12, 'neutral': 0.0005853411948919529}, 'dominant_emotion': 'happy', 'region': {'x': 21, 'y': 44, 'w': 80, 'h': 80}, 'face_confidence': 8.283435061981436}]\n", "[{'emotion': {'angry': 0.00039057040339685045, 'disgust': 1.4981132778757456e-05, 'fear': 0.004194876601104625, 'happy': 94.8945939540863, 'sad': 0.027488527121022344, 'surprise': 0.0012305681593716145, 'neutral': 5.072085186839104}, 'dominant_emotion': 'happy', 'region': {'x': 14, 'y': 36, 'w': 54, 'h': 54}, 'face_confidence': 8.97290798672475}]\n", "[{'emotion': {'angry': 2.484499964702097e-11, 'disgust': 4.910556052059824e-16, 'fear': 1.3500369711039184e-07, 'happy': 100.0, 'sad': 9.491515212678436e-10, 'surprise': 2.140005837467096e-10, 'neutral': 4.07168831983995e-07}, 'dominant_emotion': 'happy', 'region': {'x': 34, 'y': 52, 'w': 136, 'h': 136}, 'face_confidence': 6.292403086961713}]\n", "[{'emotion': {'angry': 0.0001968440081334282, 'disgust': 3.1631383952561698e-06, 'fear': 0.008324922501891926, 'happy': 99.78082773456904, 'sad': 0.05212950675988278, 'surprise': 0.00010395132324002392, 'neutral': 0.15841809360079093}, 'dominant_emotion': 'happy', 'region': {'x': 23, 'y': 44, 'w': 75, 'h': 75}, 'face_confidence': 7.389382062887307}]\n", "[{'emotion': {'angry': 0.15384603757411242, 'disgust': 1.7325034207260614e-05, 'fear': 45.26447653770447, 'happy': 50.44006705284119, 'sad': 3.5275347530841827, 'surprise': 0.05553089431487024, 'neutral': 0.5585296545177698}, 'dominant_emotion': 'happy', 'region': {'x': 18, 'y': 40, 'w': 86, 'h': 86}, 'face_confidence': 10.576239208399784}]\n", "57\n" ] } ], "source": [ "%cd ..\n", "number_smiles = 0\n", "smile_counts = []\n", "number_nonsmiles = 0\n", "nonsmile_counts = []\n", "num_errors = 0\n", "error_counts = []\n", "pngs = []\n", "\n", "file_count = 0\n", "file_count_list = []\n", "\n", "years = ['1911', '1921', '1931', '1941', '1951', '1961']\n", "\n", "for year in years:\n", " path = r'./images' + '/' + year\n", " for root, dirs, files in os.walk(path):\n", " for dir in dirs:\n", " path = path + '/' + (year + ' faces')\n", " if(file_count != 0):\n", " file_count_list.append(file_count)\n", " file_count = 0\n", " for f in os.listdir(path):\n", " if f.endswith('.png'):\n", " pngs.append(path + '/' + f)\n", " file_count = file_count + 1\n", "\n", "file_count_list.append(file_count)\n", "\n", "total_loops = 0\n", "count = 0\n", "iterator = 0\n", "for png in pngs:\n", " try:\n", " total_loops = total_loops + 1\n", " count = count + 1\n", " if(count != (file_count_list[iterator] + 1)):\n", " demography = DeepFace.analyze(png, actions = ['emotion'])\n", " print(demography)\n", " if(demography[0]['dominant_emotion'] == 'happy'):\n", " number_smiles = number_smiles + 1\n", " else:\n", " number_nonsmiles = number_nonsmiles + 1\n", "\n", " else:\n", " count = count - 1\n", " smile_counts.append(number_smiles / count)\n", " nonsmile_counts.append(number_nonsmiles / count)\n", " error_counts.append(num_errors / count)\n", " number_smiles = 0\n", " number_nonsmiles = 0\n", " num_errors = 0\n", " iterator = iterator + 1\n", " count = 0\n", "\n", " except (Exception):\n", " num_errors = num_errors + 1\n", " print(\"An error happened\")\n", " continue\n", "\n", "smile_counts.append(number_smiles / count)\n", "nonsmile_counts.append(number_nonsmiles / count)\n", "error_counts.append(num_errors / count)\n", "\n", "dict = {'Years': years, 'Smiles': smile_counts, 'Non-Smiles': nonsmile_counts, \"Error Weight\": error_counts}\n", "data = pd.DataFrame(dict)\n", "data.to_csv('YearbookOutput.csv', index=False)\n", "print(count)\n" ] }, { "cell_type": "markdown", "source": [ "##Download and results" ], "metadata": { "id": "Sa2rV4Hzd5NE" } }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 17 }, "id": "QxBepnRtns50", "outputId": "88cf3816-bead-493e-c63b-9e4c70d4b672" }, "outputs": [ { "output_type": "display_data", "data": { "text/plain": [ "" ], "application/javascript": [ "\n", " async function download(id, filename, size) {\n", " if (!google.colab.kernel.accessAllowed) {\n", " return;\n", " }\n", " const div = document.createElement('div');\n", " const label = document.createElement('label');\n", " label.textContent = `Downloading \"${filename}\": `;\n", " div.appendChild(label);\n", " const progress = document.createElement('progress');\n", " progress.max = size;\n", " div.appendChild(progress);\n", " document.body.appendChild(div);\n", "\n", " const buffers = [];\n", " let downloaded = 0;\n", "\n", " const channel = await google.colab.kernel.comms.open(id);\n", " // Send a message to notify the kernel that we're ready.\n", " channel.send({})\n", "\n", " for await (const message of channel.messages) {\n", " // Send a message to notify the kernel that we're ready.\n", " channel.send({})\n", " if (message.buffers) {\n", " for (const buffer of message.buffers) {\n", " buffers.push(buffer);\n", " downloaded += buffer.byteLength;\n", " progress.value = downloaded;\n", " }\n", " }\n", " }\n", " const blob = new Blob(buffers, {type: 'application/binary'});\n", " const a = document.createElement('a');\n", " a.href = window.URL.createObjectURL(blob);\n", " a.download = filename;\n", " div.appendChild(a);\n", " a.click();\n", " div.remove();\n", " }\n", " " ] }, "metadata": {} }, { "output_type": "display_data", "data": { "text/plain": [ "" ], "application/javascript": [ "download(\"download_870cdeae-a26f-4143-8060-94e99cf63038\", \"YearbookOutput.csv\", 282)" ] }, "metadata": {} } ], "source": [ "from google.colab import files\n", "files.download('YearbookOutput.csv')" ] } ], "metadata": { "accelerator": "GPU", "colab": { "provenance": [], "include_colab_link": true }, "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 0 }