benjiebob / SMALify

This repository contains an implementation for performing 3D animal (quadruped) reconstruction from a monocular image or video. The system adapts the pose (limb positions) and shape (animal type/height/weight) parameters for the SMAL deformable quadruped model, as well as camera parameters until the projected SMAL model aligns with 2D keypoints and silhouette segmentations extracted from the input frame(s).
106 stars 18 forks source link

Issue with SMAL data files under Windows OS #10

Closed benjiebob closed 3 years ago

benjiebob commented 3 years ago

If you are a Windows user, you can use the SMALST/smpl_models/* files but you'll need to edit the line endings for compatibility reasons. Try the following Powershell commands, shown here on one example:

$path="my_smpl_00781_4_all_template_w_tex_uv_001.pkl"
(Get-Content $path -Raw).Replace("`r`n","`n") | Set-Content $path -Force