29 lines
489 B
C#
29 lines
489 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class FaceInfo
|
|
{
|
|
public enum Expression
|
|
{
|
|
Neutral = 0,
|
|
Happy = 1,
|
|
Sad = 2,
|
|
Disgust = 3,
|
|
Suprised = 4,
|
|
Fearful = 5,
|
|
Angry
|
|
}
|
|
public enum Gender
|
|
{
|
|
N = 0,
|
|
Male,
|
|
Female
|
|
}
|
|
public Expression expression;
|
|
public Gender gender;
|
|
public int age;
|
|
public float confidence;
|
|
public Rect box;
|
|
}
|