diff --git a/demo/assets/face_detection_short_range.binc083ebee6df759da467d b/demo/assets/face_detection_short_range.binc083ebee6df759da467d new file mode 100755 index 00000000..659bce89 Binary files /dev/null and b/demo/assets/face_detection_short_range.binc083ebee6df759da467d differ diff --git a/demo/assets/hand_landmark_lite.bin037c09b22c066e04d3ff b/demo/assets/hand_landmark_lite.bin037c09b22c066e04d3ff new file mode 100755 index 00000000..0a0a2ba6 Binary files /dev/null and b/demo/assets/hand_landmark_lite.bin037c09b22c066e04d3ff differ diff --git a/demo/assets/icons/file-text.svg b/demo/assets/icons/file-text.svg new file mode 100755 index 00000000..4197ddd4 --- /dev/null +++ b/demo/assets/icons/file-text.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/demo/assets/icons/flect.png b/demo/assets/icons/flect.png new file mode 100755 index 00000000..eb25e5d0 Binary files /dev/null and b/demo/assets/icons/flect.png differ diff --git a/demo/assets/icons/github.svg b/demo/assets/icons/github.svg new file mode 100755 index 00000000..cac76304 --- /dev/null +++ b/demo/assets/icons/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/demo/assets/icons/home.svg b/demo/assets/icons/home.svg new file mode 100755 index 00000000..7e630021 --- /dev/null +++ b/demo/assets/icons/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/demo/assets/icons/linkedin.svg b/demo/assets/icons/linkedin.svg new file mode 100755 index 00000000..021adb4d --- /dev/null +++ b/demo/assets/icons/linkedin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/demo/assets/icons/twitter.svg b/demo/assets/icons/twitter.svg new file mode 100755 index 00000000..640ade90 --- /dev/null +++ b/demo/assets/icons/twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/demo/assets/images/bg_natural_sougen.jpg b/demo/assets/images/bg_natural_sougen.jpg new file mode 100755 index 00000000..471cfb36 Binary files /dev/null and b/demo/assets/images/bg_natural_sougen.jpg differ diff --git a/demo/assets/model_float16_quant.bin33ee0cfa3b13c82ace2a b/demo/assets/model_float16_quant.bin33ee0cfa3b13c82ace2a new file mode 100755 index 00000000..28165cf2 Binary files /dev/null and b/demo/assets/model_float16_quant.bin33ee0cfa3b13c82ace2a differ diff --git a/demo/assets/palm_detection_lite.binba92fbef448d5b4334bc b/demo/assets/palm_detection_lite.binba92fbef448d5b4334bc new file mode 100755 index 00000000..a19339a5 Binary files /dev/null and b/demo/assets/palm_detection_lite.binba92fbef448d5b4334bc differ diff --git a/demo/assets/pose_detection.bin5f6876fde03ed33ebc9a b/demo/assets/pose_detection.bin5f6876fde03ed33ebc9a new file mode 100755 index 00000000..4f1c521d Binary files /dev/null and b/demo/assets/pose_detection.bin5f6876fde03ed33ebc9a differ diff --git a/demo/assets/pose_landmark_lite.bin80f1d546bddf782578f3 b/demo/assets/pose_landmark_lite.bin80f1d546bddf782578f3 new file mode 100755 index 00000000..280cc722 Binary files /dev/null and b/demo/assets/pose_landmark_lite.bin80f1d546bddf782578f3 differ diff --git a/demo/assets/setting.json b/demo/assets/setting.json new file mode 100755 index 00000000..19c9c816 --- /dev/null +++ b/demo/assets/setting.json @@ -0,0 +1,33 @@ +{ + "app_title": "voice-changer", + "voice_changer_server_url": "http://localhost:8080/test", + "sample_rate": 48000, + "buffer_size": 1024, + "chunk_size": 24, + "speaker_ids": [100, 107, 101, 102, 103], + "speaker_names": ["ずんだもん", "user", "そら", "めたん", "つぐみ"], + "src_id": 107, + "dst_id": 100, + "vf_enable": true, + "voice_changer_mode": "realtime", + "gpu": 0, + "available_gpus": [-1, 0, 1, 2, 3, 4], + "avatar": { + "motion_capture_face": true, + "motion_capture_upperbody": true, + "lip_overwrite_with_voice": true, + "avatar_url": "./assets/vrm/zundamon/zundamon.vrm", + "backgournd_image_url": "./assets/images/bg_natural_sougen.jpg", + "background_color": "#0000dd", + "chroma_key": "#0000dd", + "avatar_canvas_size": [1280, 720], + "screen_canvas_size": [1280, 720] + }, + "advance": { + "avatar_draw_skip_rate": 3, + "screen_draw_skip_rate": 3, + "visualizer_draw_skip_rate": 3, + "cross_fade_lower_value": 0.1, + "cross_fade_overlap_rate": 0.03 + } +} diff --git a/demo/assets/tflite-simd.wasm1f6a0e789251efcdaa4d b/demo/assets/tflite-simd.wasm1f6a0e789251efcdaa4d new file mode 100755 index 00000000..34343721 Binary files /dev/null and b/demo/assets/tflite-simd.wasm1f6a0e789251efcdaa4d differ diff --git a/demo/assets/vrm/zundamon/ReadMe.txt b/demo/assets/vrm/zundamon/ReadMe.txt new file mode 100755 index 00000000..f0240050 --- /dev/null +++ b/demo/assets/vrm/zundamon/ReadMe.txt @@ -0,0 +1,75 @@ +この度は「ずんだもん(人型)」モデルデータセットをお求めいただき、誠にありがとうございます。 +ずんだもん(人型)モデルデータは、以下のフォーマットを用意しています。 + + +・VRChat用データ(PC/Oculus対応) + VRChat上で必要なプログラム、マテリアル、PC用ではDynamicBoneを設定済みのUnity用編集データ(.unitypackage)です。 +・MMDデータ + 剛体、ジョイント、マテリアル等を設定済みのモデルデータ(.pmx)です。 +・VRMデータ + VRMデータ対応の各プラットフォームで使用可能するモデルデータ(.vrm)です。SpringBone、コライダ、マテリアル等を設定済みです。 +・FBXデータ + 上記3フォーマット作成に使用したfbxデータです。ゲーム制作等、必要に応じてご使用下さい。 +・blenderデータ + FBXデータを作成する際のモデルデータ(.blender)です。必要に応じてご使用下さい。 +・PSDデータ + UVマップレイヤーを同梱したPSDファイルです。モデル用テクスチャを改変の際にご使用下さい。 + +なお、上記モデル用テクスチャデータ(.png)を、各々のモデルデータへ同梱しています。 + + +モデルデータ詳細===================================== +●VRChat用データ(PC/Oculus対応) + ・VRChat用データを使用する場合、別途オーサリングソフトウェアである「Unity2019.4.31f1」が必要です。 + ・Avatar3.0専用です。Avatar2.0ではご使用できません。 + ・マテリアル・シェーダーでは「ユニティちゃんトゥーンシェーダー2.0.8」を使用しています。 + 本モデルデータには上記シェーダーは同梱されておりませんので、あらかじめご用意をお願いします。 + ・PC版ではDynamicBone設定済みですが、DynamicBone本体は同梱されておりません。 + あらかじめ購入およびご用意をお願いします。 + ・シェイプキー 口:20種 目:12種 眉:3種 その他:1種を同梱しております。 + ・PC版、Oculus版共にハンドサインにて表情切替可能です(7種)。 + ・ハンドサインに登録されていない表情は、Unityエディターで切り替え編集を行って下さい。 + ・PC版ではフルトラッキング対応です。基本的には腰、両足首にトラッカーを装着して下さい。 + ・PC版では衣装やアクセサリーは別パーツとなっており、Unity上で脱着が可能です。 + ・Oculus版では、仕様により衣装やアクセサリーの脱着は行えません。 + ・VRChatへの詳しい導入方法は別途「VRChatキャラクター導入マニュアル」をご覧下さい。 + +●MMDデータ + ・MMDデータを使用する場合、別途「MikuMikuDance」「MikuMikuMoving」などのMMD対応ソフトウェアが必要です。 + ・剛体、ジョイント、IK設定済みです。 + ・準標準ボーン(全ての親、グループ、上半身2、腰、肩キャンセル、腕捩、手捩、親指0、足IK親)が設定済みです。 + ・衣装やアクセサリーは別パーツとなっており、その他モーフ「脱衣」パラメータを1にすることで脱衣可能です。 + +●VRMデータ + ・VRMデータを使用する場合、VRMモデルを使用できる各アプリケーションが別途必要です。 + ・VRMSDK ver.0.92を使用してデータを作成しています。 + ・SpringBoneおよびSpringBoneCollider設定済みです。 + ・シェーダーはVRM MToonおよびスタンダードシェーダーを使用しています。 + ・BlendShapeは基本12種(A,I,U,E,O,Blink,Joy,Angly,Sorrow,Fun)から更に8種追加(Wink_L,Wink_R,Star,Hachume,No_HightLight,Aozame,Hauu,Tear)の全20種使用可能です。 + +●FBXデータ + ・FBXデータバージョンは2020となっています。アプリケーションによっては正常に読み込むことができない場合があります。 + ・FBXデータご使用の際は、必ずテクスチャファイルも同時にインポート願います。 + ・アプリケーションへインポートの際、座標系の問題が生じるおそれがあります(Z軸が縦方向、Y軸が奥行となります) + ・メッシュデータ、ボーンデータ、マテリアル以外のデータ(ライト、カメラ、モーションなど)は同梱されていません。 + +●Blenderデータ + ・Blenderデータバージョンは2.93です。バージョン2.93以前のBlenderでは正常に読み込むことができない場合があります。 + ・MMD以外のボーン(アーマーチュア)に対応しています。MMDではボーン構造が特殊なため対応していません。 + ・IKは設定しておりません。必要に応じてIKを設定願います。 + ・素体、各衣装やアクセサリーを別オブジェクトとなりますので、お好みに合わせて脱着することが可能です。 + +===================================== + + +●ご利用規約、禁止事項、免責事項は別途「ずんだもん(人型)モデル利用規約.txt」をご覧下さい。 + + +●お問合せ先 +不具合、バグ、感想、調整、商用利用などのお問合せなどは、ホームページ(https://zunko.jp)よりご連絡下さい。 + + + + +●更新履歴 +2021/12/31 初版 diff --git a/demo/assets/vrm/zundamon/zundamon.vrm b/demo/assets/vrm/zundamon/zundamon.vrm new file mode 100755 index 00000000..b4612b21 Binary files /dev/null and b/demo/assets/vrm/zundamon/zundamon.vrm differ diff --git a/demo/assets/vrm/zundamon/ずんだもん(人型)モデル利用規約(Terms of Use).txt b/demo/assets/vrm/zundamon/ずんだもん(人型)モデル利用規約(Terms of Use).txt new file mode 100755 index 00000000..fa10f2c4 --- /dev/null +++ b/demo/assets/vrm/zundamon/ずんだもん(人型)モデル利用規約(Terms of Use).txt @@ -0,0 +1,68 @@ +ずんだもん(人型) モデルデータ利用規約 + +3Dモデリング:絹井けい +販売元:SSS LLC. (https://zunko.jp)※以下「当社」とします。 + +・本モデルを利用、もしくは改変した時点で本規約に同意したものとします。 +・本ライセンスの内容は変更する場合があり、最新のものが適用されます。 +・本ライセンスは日本語のものが正本とされ、翻訳と差異がある場合は常に日本語のものが優先されます。 +・本モデルの二次創作物を利用することによって生じた何らかのトラブル・損失に対し、絹井けい、および当社は一切責任を負わないものとします。 +・本モデルを改変した二次創作物の著作権法上の全ての権利は当社に帰属するものとします。 + + +●利用規約● +本モデルでは基礎条項に加え、個別条項を元に以下の行為を許可します。 + +・二次的著作物の配布の許可 +・成人向け表現(性的表現)の許可 +・成人向け表現(暴力表現)の許可 +・本モデルでの利用を目的とした衣装等を配布・頒布・販売する場合に限り、本モデルが含む以下のデータを流用することを許可します。ただし改変が著しく少ない場合を除きます。 + 1.本モデルを構成するボーン・ウェイト + 2.モデルの素体パーツ「ずんだもん(人型)」メッシュデータ +・当モデルデータを営利目的で使用する場合、販売元であるSSS LLC.が運営する「東北ずん子」ウェブサイトにて記載されている「版権商用利用の手引き(https://zunko.jp/con_shoushi.html)」に従ってください。 + ただし以下の場合、事前受諾は不要です。 + 1.印刷やディスクプレスなど、個人から依頼されたものを複製する場合 + 2.動画や写真への映り込みなど、本モデルがメインコンテンツと判断されない場合 + + + +●お問合せ先● + +ホームページ:https://zunko.jp/ +版権商用利用の手引き:https://zunko.jp/con_shoushi.html + + + +EN:Zundamon (humanoid) Model Data Terms of Use + +3D modeling: Kei Kinui +Distributed by: SSS LLC. (https://zunko.jp) hereinafter referred to as "the Company". + +*By using or modifying this model, you agree to be bound by these terms. +*The content of this license is subject to change, and the latest version shall apply. +*The Japanese version of this license shall be the original, and if there are any differences between the Japanese version and the translated version, the Japanese version shall always take precedence. +*Kei Kinui and the Company shall not be held responsible for any problems or losses that may arise from the use of secondary works of this model. +*All rights under copyright law for secondary works modified from this model shall belong to the Company. + + +*Terms of Use* +In addition to the basic terms, this model permits the following actions based on the individual terms. + +*Permission to distribute derivative works +*Permission for adult expression (sexual expression) +*Permission to use adult-oriented expressions (violent expressions) +*Permission is granted to use the following data included in this model only for the purpose of distributing or selling costumes, etc. for use in this model. However, this excludes cases where the modifications are extremely small. + 1:The bones and weights that make up the model + 2:Mesh data of the model's body part "Zundamon (humanoid) +*If you wish to use this model data for commercial purposes, please follow the "Guide to the Commercial Use of Copyrighted Material (https://zunko.jp/con_shoushi.html)" described on the "Tohoku Zunko" website operated by SSS LLC, the distributor. + However, prior consent is not required in the following cases + 1:Reproduction of materials commissioned by individuals, such as printing or disc pressing. + 2:When this model is not judged to be the main content, such as reflection in videos or photos. + + + +*contact us* + +HomePage(https://zunko.jp) + +Guide to the Commercial Use of Copyrighted Material(https://zunko.jp/con_shoushi.html) \ No newline at end of file diff --git a/demo/coffee.png b/demo/coffee.png new file mode 100755 index 00000000..fad3f85f Binary files /dev/null and b/demo/coffee.png differ diff --git a/demo/favicon.ico b/demo/favicon.ico new file mode 100755 index 00000000..9a943f17 Binary files /dev/null and b/demo/favicon.ico differ diff --git a/demo/index.html b/demo/index.html new file mode 100755 index 00000000..a333ab9c --- /dev/null +++ b/demo/index.html @@ -0,0 +1 @@ +