# 2/20 專題開會 ### **組員** 410921308 游凱卉 410921309 陳采瑜 410921215 鄭宇森 --- ## **本周完成進度** #### **找到[SMPL-AMC-Imitator](https://github.com/CalciferZh/SMPL-AMC-Imitator)(4-1參考的程式)** 發現4-1是由SMPL-AMC-Imitator改制而成,還可以產生obj檔 只要用 : `imit.smpl.output_mesh(output_path)` 就可以產生 產生過程步驟 : ``` joints = reader.parse_asf(asf_path) motions = reader.parse_amc(amc_path) smpl = SMPLModel(smpl_model_path) imit = Imitator(joints, smpl) imit.imitate(motions[frame_index]) ##這一部可以換成hmr的motion data imit.smpl.output_mesh(output_path) ``` 預計再配合之前跑過的hmr得到動作data,就可以產生align需要的模型。 motion data 的範例 : ``` {'root': [-1.05956, 17.1777, 14.4517, 89.3424, -78.394, -86.0566], 'lowerback': [9.84806, 1.68233, 5.74864], 'upperback': [3.43385, 2.64177, -0.458249], 'thorax': [-1.64661, 1.29528, -3.99365], 'lowerneck': [5.41811, -13.8341, -15.4454], 'upperneck': [5.1542, -19.6201, 10.25], 'head': [3.19408, -9.99083, 4.81094], 'rclavicle': [2.94201e-14, -4.45278e-14], 'rhumerus': [-25.15, 5.59364, -76.61], 'rradius': [50.2157], 'rwrist': [-13.4694], 'rhand': [-15.5538, -23.7156], 'rfingers': [7.12502], 'rthumb': [10.6306, -53.4267], 'lclavicle': [2.94201e-14, -4.45278e-14], 'lhumerus': [-34.7526, 17.7553, 74.0477], 'lradius': [34.4669], 'lwrist': [2.88612], 'lhand': [-18.2714, -6.06388], 'lfingers': [7.12502], 'lthumb': [8.00837, 23.7644], 'rfemur': [10.6673, 3.39133, 34.8057], 'rtibia': [17.5528], 'rfoot': [-20.265, -17.2828], 'rtoes': [3.4757], 'lfemur': [-33.6423, -0.222159, 1.82683], 'ltibia': [30.9552], 'lfoot': [-6.30245, -2.08732], 'ltoes': [-4.6642]} ``` #### **網頁** https://editor.wix.com/website/builder?storyId=411f0331-1405-4d73-ac47-faffcb83ba37&editorSessionId=06e0886f-64b4-49eb-934e-7387bfe83663#/ --- ## **下周進度** 找骨架位置 取得第二步驟自建之模型的骨架(24 關鍵點),取代掉asf的模板骨架,再結合motion data 做好 align (之前的計畫 2/8 tex2shape(和hmr動作)+pifu) 一起研究主程式的問題