|
|
|
|
|
|
/// </summary>
|
|
|
|
public float y; |
|
|
|
/// <summary>
|
|
|
|
/// The state of the point, 0 = not present, 1 = keypoint is present
|
|
|
|
/// The state of the point,
|
|
|
|
/// 0 = not present,
|
|
|
|
/// 1 = keypoint is present but not visible,
|
|
|
|
/// 2 = keypoint is present and visible
|
|
|
|
/// </summary>
|
|
|
|
public int state; |
|
|
|
} |
|
|
|
|
|
|
keyPoints[idx].index = idx; |
|
|
|
keyPoints[idx].x = loc.x; |
|
|
|
keyPoints[idx].y = loc.y; |
|
|
|
keyPoints[idx].state = 1; |
|
|
|
keyPoints[idx].state = 2; |
|
|
|
} |
|
|
|
|
|
|
|
cachedData.keyPoints.pose = "unset"; |
|
|
|