-
-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
80 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 10 additions & 7 deletions
17
Assets/MediaPipe/Examples/Graphs/Holistic/Scripts/HolisticValue.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
using Mediapipe; | ||
using System.Collections.Generic; | ||
|
||
class HolisticValue { | ||
public readonly NormalizedLandmarkList PoseLandmarks; | ||
public readonly NormalizedRect PoseRoi; | ||
public readonly Detection PoseDetection; | ||
public readonly NormalizedLandmarkList FaceLandmarks; | ||
public readonly NormalizedLandmarkList LeftHandLandmarks; | ||
public readonly NormalizedLandmarkList RightHandLandmarks; | ||
|
||
public HolisticValue(NormalizedLandmarkList poseLandmarks, NormalizedLandmarkList faceLandmarks, | ||
NormalizedLandmarkList leftHandLandmarks, NormalizedLandmarkList rightHandLandmarks) { | ||
PoseLandmarks = poseLandmarks; | ||
FaceLandmarks = faceLandmarks; | ||
LeftHandLandmarks = leftHandLandmarks; | ||
RightHandLandmarks = rightHandLandmarks; | ||
public HolisticValue(NormalizedLandmarkList PoseLandmarks, NormalizedRect PoseRoi, Detection PoseDetection, | ||
NormalizedLandmarkList FaceLandmarks, NormalizedLandmarkList LeftHandLandmarks, NormalizedLandmarkList RightHandLandmarks) { | ||
this.PoseLandmarks = PoseLandmarks; | ||
this.PoseRoi = PoseRoi; | ||
this.PoseDetection = PoseDetection; | ||
this.FaceLandmarks = FaceLandmarks; | ||
this.LeftHandLandmarks = LeftHandLandmarks; | ||
this.RightHandLandmarks = RightHandLandmarks; | ||
} | ||
} |