1
可有人請參閱任何資源/項目,該項目採用http://www.affectiva.com/在Unity3D跟蹤臉部並提取標誌點這裏affdex-SDK:FaceTracking SDK用於Unity3D
教程只是指情感提取 http://developer.affectiva.com/v2_2/unity/
可有人請參閱任何資源/項目,該項目採用http://www.affectiva.com/在Unity3D跟蹤臉部並提取標誌點這裏affdex-SDK:FaceTracking SDK用於Unity3D
教程只是指情感提取 http://developer.affectiva.com/v2_2/unity/
嘗試像這樣(從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如果這回答了您的問題,請接受它。謝謝。 –