11.3. Detect pauses with MediaPipe
MediaPipe is an AI solution for live and streaming media published by Google that can be used free of charge. This application uses the Pose function.
AI can automatically detect poses from images transferred by a webcam, etc., and apply them to VRoid/VRM.
https://google.github.io/mediapipe/
Warning
Because the IK positions of MediaPipe and this application do not match perfectly, pose detection is not 100%. Please note.
This function cannot be used except for VRoid/VRM.
Click MediaPipe on the 3D Models tab.
A confirmation message will be displayed. If there is no problem, press the OK button to proceed.
Note
Permission to use the camera is required for the first time, so please allow it before proceeding.
Depending on the specs of your PC, the rear camera image will be displayed while loading.
Note
If the app freezes in this state, please quit all of this app once and start it again.
11.3.1. save the pose
This is the normal procedure for obtaining a pose.
Click the blue button at the bottom right of the window.
If you set the number of seconds for the timer to 1 or more, the timer will start after you press the button, and after that number of seconds the pose will be taken automatically.
Confirm that the pose has been reflected on the main screen of this app.
Note
Depending on the position, height, depth, etc. of the person or object being photographed, the pose actually reflected may differ from the assumption.
11.3.2. Always detect poses
This is a function added from ver 2.0. The pose recognized by the webcam is always reflected on the currently selected VRM.
Click the red button in the lower right corner of the window.
Press the red button again to stop reflecting the pose.
Note
Continues to reflect the recognized pose at intervals of about 1 second. If the webcam is no longer recognized for some reason, the reflection of the pose will also stop. In that case, please end this application once and start it again.
11.3.3. Switch video source
You can switch if you have multiple webcams connected or if you want to detect poses from photos.
Select the desired one from the video source combo box in the tool window.
- :
- Or click the browse button
Confirm that the pose is detected from another camera/image.
Note
In the case of illustrations and photos, the depth may not be fully reproduced. In that case, please modify each IK by operating VRM directly after saving the pose.
11.3.4. Save pose with timer
With the timer function, the camera image can be automatically shot after the specified time and the pose can be detected.
Specify the number of seconds in “Save timer” in the tool window.
Press the Save Pose button.
The pose will be saved according to the normal procedure, so please check and reflect it on the main screen.
11.3.5. Other functions
- Selfie Mode:
Invert the image.
- Video source:
Specify an image with the camera or browse button.
- Min Detection Confidence:
Accuracy of detection
- Min Tracking Confidence:
Tracking accuracy
Check the MediaPipe site for other options.
Close Menu
Click on the top right of the menu.
The menu will disappear and you will see the detection preview in the background.