Skip to content

Commit 9ac6442

Browse files
authored
doc: update solutions (#1251)
1 parent 45974d1 commit 9ac6442

1 file changed

Lines changed: 34 additions & 19 deletions

File tree

README.md

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -92,39 +92,54 @@ You can also make use of [the Package Workflow](https://github.com/homuler/Media
9292
| Windows 10/11 (AMD64) [^2] | :heavy_check_mark: | | | | :heavy_check_mark: | :heavy_check_mark: | | |
9393

9494
[^1]: Tested on Arch Linux.
95-
[^2]: Running MediaPipe on Windows is [experimental](https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows).
95+
[^2]: Running MediaPipe on Windows is [experimental](https://ai.google.dev/edge/mediapipe/framework/getting_started/install#installing_on_windows).
96+
97+
### Supported Solutions
98+
This plugin implements the following [MediaPipe Tasks](https://ai.google.dev/edge/mediapipe/solutions/tasks) C# APIs.
99+
100+
cf. [The official available solutions](https://ai.google.dev/edge/mediapipe/solutions/guide#available_solutions)
101+
102+
| Solution | Android | iOS | Linux | macOS | Windows |
103+
| :----------------------: | :----------------: | :----------------: | :----------------: | :----------------: | :----------------: |
104+
| LLM Inference API | | | | |
105+
| Object detection | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
106+
| Image classification | | | | | |
107+
| Image segmentation | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
108+
| Interactive segmentation | | | | | |
109+
| Hand landmark detection | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
110+
| Gesture recognition | | | | | |
111+
| Image embedding | | | | | |
112+
| Face detection | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
113+
| Face landmark detection | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
114+
| Face stylization | | | | | |
115+
| Pose landmark detection | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
116+
| Image generation | | | | | |
117+
| Text classification | | | | | |
118+
| Text embedding | | | | | |
119+
| Language detector | | | | | |
120+
| Audio classification | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
121+
122+
### Legacy Solutions
123+
You can also use [MediaPipe Framework](https://ai.google.dev/edge/mediapipe/framework), which allows you to run [Legacy Solutions](https://ai.google.dev/edge/mediapipe/solutions/guide#legacy). However, please note that support for these solutions has ended.
96124

97125
## :plate_with_cutlery: Try the sample app
98126

99127
### Example Solutions
128+
Some solutions (including Legacy solutions) can be tested using the sample app.
129+
Please check [`Assets/MediaPipeUnity/Samples/Scenes`](https://github.com/homuler/MediaPipeUnityPlugin/tree/master/Assets/MediaPipeUnity/Samples/Scenes) to see which solutions have samples.
100130

101-
Here is a list of [solutions](https://google.github.io/mediapipe/solutions/solutions.html) that you can try in the sample app.
102-
103-
> :bell: The graphs you can run are not limited to the ones in this list.
104-
105-
| | Android | iOS | Linux (GPU) | Linux (CPU) | macOS (CPU) | Windows (CPU) | WebGL |
106-
| :---------------------: | :----------------: | :----------------: | :----------------: | :----------------: | :----------------: | :----------------: | ----- |
107-
| Face Detection | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
108-
| Face Mesh | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
109-
| Iris | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
110-
| Hands | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
111-
| Pose | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
112-
| Holistic | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
113-
| Selfie Segmentation | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
114-
| Hair Segmentation | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
115-
| Object Detection | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | |
116131
### UnityEditor
117132

118-
Select any scenes under `Mediapipe/Samples/Scenes` and play.
133+
Select any scenes under `Assets/MediaPipeUnity/Samples/Scenes` and play.
119134

120135
### Desktop, Android, iOS
121136

122137
Select proper Inference Mode and Asset Loader Type from the Inspector Window.
123138

124139
#### Preferable Inference Mode
125140

126-
If you've built native libraries for CPU (i.e. `--desktop cpu`), select `CPU` for inference mode.\
127-
When building for Android/iOS, make sure that you select `GPU` for inference mode, because `CPU` inference mode is not supported currently.
141+
If the native libraries are built for CPU (i.e. `--desktop cpu`), select `CPU` for inference mode.\
142+
For the libraries distributed on the release page, only the CPU is available for use on Windows and macOS.
128143

129144
![preferable-inference-mode](https://github.com/homuler/MediaPipeUnityPlugin/assets/4690128/129d18be-8184-43f7-8ac8-56db4df9f9a7)
130145

0 commit comments

Comments
 (0)