Skip to content

Commit

Permalink
update to mediapipe-touchdesigner 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joreg committed Feb 2, 2024
1 parent 2c84f3e commit 2a22903
Show file tree
Hide file tree
Showing 10 changed files with 5,323 additions and 4,921 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "mediapipe-touchdesigner"]
path = mediapipe-touchdesigner
url = https://github.com/torinmb/mediapipe-touchdesigner.git
branch = image-embedding
354 changes: 319 additions & 35 deletions VL.MediaPipe.vl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion deployment/VL.MediaPipe.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>VL.MediaPipe</id>
<version>0.1.2-alpha</version>
<version>0.2.1-alpha</version>
<title>VL.MediaPipe</title>
<authors>Dom Scott, Torin Blankensmith, vvvv</authors>
<owners>vvvv</owners>
Expand Down
118 changes: 74 additions & 44 deletions help/HowTo Use MediaPipe.vl

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mediapipe-touchdesigner
27 changes: 27 additions & 0 deletions src/ImageEmbedderResults.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
namespace VL.MediaPipe.ImageEmbedderResults
{
public class ImageembedderRoot
{
public Imageembedderresults ImageEmbedderResults { get; set; }
public Resolution Resolution { get; set; }
}

public class Imageembedderresults
{
public Embedding[] Embeddings { get; set; }
public int TimestampMs { get; set; }
}

public class Embedding
{
public int hHadIndex { get; set; }
public string HeadName { get; set; }
public float[] FloatEmbedding { get; set; }
}

public class Resolution
{
public int Width { get; set; }
public int Height { get; set; }
}
}
3 changes: 2 additions & 1 deletion src/ModelEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ namespace MediaPipe;
public enum PoseModels { Lite, Full, Heavy };
public enum ObjectModels { Fast, Full, Accurate };
public enum ImageModels { Full, Accurate };
public enum SegmentationModels { selfieSquare, selfieLandscape, hairSegmenter, selfieMulticlass, deepLabV3 };
public enum SegmentationModels { selfieSquare, selfieLandscape, hairSegmenter, selfieMulticlass, deepLabV3 };
public enum ImageEmbederModels { Small, Large};
Loading

0 comments on commit 2a22903

Please sign in to comment.