generated from vvvv/VL.NewLibrary.Template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
6 changed files
with
85 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,65 @@ | ||
namespace MediaPipe.GestureResults | ||
{ | ||
public class Rootobject | ||
public class GestureRoot | ||
{ | ||
public Gestureresults gestureResults { get; set; } | ||
public Resolution resolution { get; set; } | ||
public Gestureresults GestureResults { get; set; } | ||
public Resolution Resolution { get; set; } | ||
} | ||
|
||
public class Gestureresults | ||
{ | ||
public Gesture[][] gestures { get; set; } | ||
public Landmark[][] landmarks { get; set; } | ||
public Worldlandmark[][] worldLandmarks { get; set; } | ||
public Handedness[][] handedness { get; set; } | ||
public Handedness1[][] handednesses { get; set; } | ||
public Gesture[][] Gestures { get; set; } | ||
public Landmark[][] Landmarks { get; set; } | ||
public Worldlandmark[][] WorldLandmarks { get; set; } | ||
public Handedness[][] Handedness { get; set; } | ||
public Handedness1[][] Handednesses { get; set; } | ||
} | ||
|
||
public class Gesture | ||
{ | ||
public float score { get; set; } | ||
public int index { get; set; } | ||
public string categoryName { get; set; } | ||
public string displayName { get; set; } | ||
public float Score { get; set; } | ||
public int Index { get; set; } | ||
public string CategoryName { get; set; } | ||
public string DisplayName { get; set; } | ||
} | ||
|
||
public class Landmark | ||
{ | ||
public float x { get; set; } | ||
public float y { get; set; } | ||
public float z { get; set; } | ||
public float x { private get; init; } | ||
public float y { private get; init; } | ||
public float z { private get; init; } | ||
|
||
public Vector3 Position { get { return new Vector3(x, y, z); } } | ||
} | ||
|
||
public class Worldlandmark | ||
{ | ||
public float x { get; set; } | ||
public float y { get; set; } | ||
public float z { get; set; } | ||
public float x { private get; init; } | ||
public float y { private get; init; } | ||
public float z { private get; init; } | ||
|
||
public Vector3 Position { get { return new Vector3(x, y, z); } } | ||
} | ||
|
||
public class Handedness | ||
{ | ||
public float score { get; set; } | ||
public int index { get; set; } | ||
public string categoryName { get; set; } | ||
public string displayName { get; set; } | ||
public float Score { get; set; } | ||
public int Index { get; set; } | ||
public string CategoryName { get; set; } | ||
public string DisplayName { get; set; } | ||
} | ||
|
||
public class Handedness1 | ||
{ | ||
public float score { get; set; } | ||
public int index { get; set; } | ||
public string categoryName { get; set; } | ||
public string displayName { get; set; } | ||
public float Score { get; set; } | ||
public int Index { get; set; } | ||
public string CategoryName { get; set; } | ||
public string DisplayName { get; set; } | ||
} | ||
|
||
public class Resolution | ||
{ | ||
public int width { get; set; } | ||
public int height { get; set; } | ||
public int Width { get; set; } | ||
public int Height { get; set; } | ||
} | ||
} |
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,52 +1,56 @@ | ||
namespace MediaPipe.HandResults | ||
{ | ||
public class Rootobject | ||
public class HandRoot | ||
{ | ||
public Handresults handResults { get; set; } | ||
public Resolution resolution { get; set; } | ||
public Handresults HandResults { get; set; } | ||
public Resolution Resolution { get; set; } | ||
} | ||
|
||
public class Handresults | ||
{ | ||
public Landmark[][] landmarks { get; set; } | ||
public Worldlandmark[][] worldLandmarks { get; set; } | ||
public Handedness[][] handednesses { get; set; } | ||
public Handedness1[][] handedness { get; set; } | ||
public Landmark[][] Landmarks { get; set; } | ||
public Worldlandmark[][] WorldLandmarks { get; set; } | ||
public Handedness[][] Handednesses { get; set; } | ||
public Handedness1[][] Handedness { get; set; } | ||
} | ||
|
||
public class Landmark | ||
{ | ||
public float x { get; set; } | ||
public float y { get; set; } | ||
public float z { get; set; } | ||
public float x { private get; init; } | ||
public float y { private get; init; } | ||
public float z { private get; init; } | ||
|
||
public Vector3 Position { get { return new Vector3(x, y, z); } } | ||
} | ||
|
||
public class Worldlandmark | ||
{ | ||
public float x { get; set; } | ||
public float y { get; set; } | ||
public float z { get; set; } | ||
public float x { private get; init; } | ||
public float y { private get; init; } | ||
public float z { private get; init; } | ||
|
||
public Vector3 Position { get { return new Vector3(x, y, z); } } | ||
} | ||
|
||
public class Handedness | ||
{ | ||
public float score { get; set; } | ||
public int index { get; set; } | ||
public string categoryName { get; set; } | ||
public string displayName { get; set; } | ||
public float Score { get; set; } | ||
public int Index { get; set; } | ||
public string CategoryName { get; set; } | ||
public string DisplayName { get; set; } | ||
} | ||
|
||
public class Handedness1 | ||
{ | ||
public float score { get; set; } | ||
public int index { get; set; } | ||
public string categoryName { get; set; } | ||
public string displayName { get; set; } | ||
public float Score { get; set; } | ||
public int Index { get; set; } | ||
public string CategoryName { get; set; } | ||
public string DisplayName { get; set; } | ||
} | ||
|
||
public class Resolution | ||
{ | ||
public int width { get; set; } | ||
public int height { get; set; } | ||
public int Width { get; set; } | ||
public int Height { get; set; } | ||
} | ||
} |
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,27 +1,27 @@ | ||
namespace VL.MediaPipe.ImageResults | ||
{ | ||
public class Rootobject | ||
public class ImageRoot | ||
{ | ||
public Imageresults imageResults { get; set; } | ||
public Resolution resolution { get; set; } | ||
public Imageresults ImageResults { get; set; } | ||
public Resolution Resolution { get; set; } | ||
} | ||
|
||
public class Imageresults | ||
{ | ||
public Classification[] classifications { get; set; } | ||
public int timestampMs { get; set; } | ||
public Classification[] Classifications { get; set; } | ||
public int TimestampMs { get; set; } | ||
} | ||
|
||
public class Classification | ||
{ | ||
public object[] categories { get; set; } | ||
public int headIndex { get; set; } | ||
public string headName { get; set; } | ||
public object[] Categories { get; set; } | ||
public int HeadIndex { get; set; } | ||
public string HeadName { get; set; } | ||
} | ||
|
||
public class Resolution | ||
{ | ||
public int width { get; set; } | ||
public int height { get; set; } | ||
public int Width { get; set; } | ||
public int Height { get; set; } | ||
} | ||
} |
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