Video2ARKit Plugin for Maya
Go to file
indigo 7cc823c64e Init Repo 2025-12-24 07:49:25 +08:00
.vscode Init Repo 2025-12-24 07:49:25 +08:00
cmake/modules Init Repo 2025-12-24 07:49:25 +08:00
src Init Repo 2025-12-24 07:49:25 +08:00
.gitignore Init Repo 2025-12-24 07:49:25 +08:00
CMakeLists.txt Init Repo 2025-12-24 07:49:25 +08:00
CMakePresets.json Init Repo 2025-12-24 07:49:25 +08:00
README.md Init Repo 2025-12-24 07:49:25 +08:00

README.md

Video2ARKit for Maya

Use google mediapipe to convert video to ARKit blendshape in maya

Requirement

  • Maya 2023+
  • Python 3.9+

Build and Install

mayapy -m pip install mediapipe opencv-python

Set MAYA_MODULE_PATH to Video2ARKit.mod directory in Maya.env

# Maya.env
MAYA_MODULE_PATH=[plugin_install_dir]/Video2ARKit

Usage

The model file is in Video2ARKit/models/face_landmarker.task folder.

The source link is Face Landmarker, download the face_landmarker.task and place into Video2ARKit/models folder.

Load Plugin

from maya import cmds
cmds.loadPlugin("Video2ARKit.py")

Convert Video to ARKit blendshape .json

from maya import cmds
cmds.a2vCmds(videoPath=r'C:\MyVideo.mp4', outputPath=r'C:\Output.json')