VMD-Lifting estimates 3D pose from photo / movie and generate a VMD motion file for MikuMikuDance
1.2K
VMD-Lifting は、写真や動画から人のポーズを推定し、MikuMikuDanceで使えるVMDフォーマットのモーション(ポーズ)データを出力するプログラムです。 ポーズ推定には Lifting from the Deep (https://github.com/DenisTome/Lifting-from-the-Deep-release) を使用しています。 詳しくは https://github.com/errno-mmd/VMD-Lifting を見てください。
こちらは、とりあえず使ってみたい方向けの Docker image です。GPUは使わない設定になっています。 Docker がインストールされたPCで、例えば C:\test_photo に写真ファイルを置き、 Windows Powershell で次のコマンドを実行します。 写真は全身が写ったものを選んでください。ファイル名は例えば test1.jpg とします。
docker run -v c:\test_photo:/vmdl/test -it errnommd/vmd-lifting:latest
コンテナとファイルを共有するため、認証のダイアログが出ます。 ファイアウォールを通す設定が必要なこともあります。 なお、Docker imageが約2GBあるので、ダウンロードに時間がかかります。 "root@(文字列):/#" のように書かれたコマンドプロンプトが出たら準備完了です。 下記の手順で VMD-Lifting を実行します(先頭の#は入力しない)。
# cd /vmdl/applications
# python3 vmdlifting.py ../test/test1.jpg ../test/test1.vmd
次のようなメッセージが表示され、C:\test_photo に test1.vmd が作られます。 この VMD ファイルを MMDに読ませましょう。
pose estimation start
...
(略)
...
frame_num: 0
root@.......:/vmdl/applications#
終了するときは exit と入力します。
Content type
Image
Digest
Size
984.7 MB
Last updated
over 7 years ago
docker pull errnommd/vmd-lifting