1
에 대한 FaceTracking SDK
튜토리얼은 여기에만 감정 추출 http://developer.affectiva.com/v2_2/unity/
튜토리얼은 여기에만 감정 추출 http://developer.affectiva.com/v2_2/unity/
시도를 의미 Unity3D에 얼굴과 추출 랜드 마크 지점을 추적하는 http://www.affectiva.com/을 사용하는 모든 자원/프로젝트를 참조하시기 바랍니다 수 이런 식으로 (http://developer.affectiva.com/v2_2/unity/analyze-camera/에서).
using Affdex;
using System.Collections.Generic;
public class PlayerEmotions : ImageResultsListener
{
public FeaturePoint[] featurePointsList;
public override void onFaceFound(float timestamp, int faceId)
{
Debug.Log("Found the face");
}
public override void onFaceLost(float timestamp, int faceId)
{
Debug.Log("Lost the face");
}
public override void onImageResults(Dictionary<int, Face> faces)
{
foreach (KeyValuePair<int, Face> pair in faces)
{
int FaceId = pair.Key; // The Face Unique Id.
Face face = pair.Value; // Instance of the face class containing emotions, and facial expression values.
//Retrieve the coordinates of the facial landmarks (face feature points)
featurePointsList = face.FeaturePoints;
// do something with the feature points
}
}
}
Anshul Jhawar이 질문에 대한 답변은 받아 들여야합니다. 감사. –