A fix for facedetect and updates for emotion input