yfeng95 / face3d

Python tools for 3D face: 3DMM, Mesh processing(transform, camera, light, render), 3D face representations.
2.68k stars 615 forks source link

bug reported in perspective camera #93

Open jasonomad opened 2 years ago

jasonomad commented 2 years ago
  1. FOV in perspective project https://github.com/YadiraF/face3d/blob/2fc26906d159a11398cd3e7a9b3f16b6f8937da3/face3d/mesh/transform.py#L179 -> top = near*np.tan(fovy / 2)

  2. typo https://github.com/YadiraF/face3d/blob/2fc26906d159a11398cd3e7a9b3f16b6f8937da3/face3d/morphable_model/morphabel_model.py#L49 -> sp = np.zeros((self.n_shape_para, 1))