Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YuelangX/Multiview-3DMM-Fitting
/ functions
Functions
41 in github.com/YuelangX/Multiview-3DMM-Fitting
⨍
Functions
41
◇
Types & classes
9
↓ 10 callers
Method
load
(self, config_file)
config/config.py:28
↓ 4 callers
Function
CropImage
(left_up, crop_size, image=None, K=None)
preprocess/preprocess_nersemble.py:8
↓ 4 callers
Function
ResizeImage
(target_size, source_size, image=None, K=None)
preprocess/preprocess_nersemble.py:36
↓ 4 callers
Method
save
(self, path, batch_id=-1)
lib/face_models/BFMModule.py:62
↓ 2 callers
Method
get_cfg
(self)
config/config.py:25
↓ 1 callers
Method
__init__
(self, batch_size)
lib/face_models/FLAMEModule.py:223
↓ 1 callers
Method
_find_dynamic_lmk_idx_and_bcoords
Selects the face contour depending on the reletive position of the head Input: vertices: N X num_of_vertices
lib/face_models/FLAMEModule.py:323
↓ 1 callers
Function
extract_frames
(id_list)
preprocess/preprocess_nersemble.py:48
↓ 1 callers
Function
get_face_model
(face_model, batch_size, device)
lib/face_models/__init__.py:5
↓ 1 callers
Method
get_item
(self)
lib/LandmarkDataset.py:17
↓ 1 callers
Method
get_lms
(self, vs)
lib/face_models/BFMModule.py:32
↓ 1 callers
Method
get_lms
(self, vs)
lib/face_models/FaceVerseModule.py:39
↓ 1 callers
Function
get_normal_coord_system
returns tensor of basis vectors of coordinate system that moves with normals: e_x = always points horizontally e_y = always pointing up
lib/face_models/FLAMEModule.py:69
↓ 1 callers
Method
get_vs
(self, id_coeff, exp_coeff)
lib/face_models/BFMModule.py:36
↓ 1 callers
Method
get_vs
(self, id_coeff, exp_coeff)
lib/face_models/FaceVerseModule.py:43
↓ 1 callers
Method
init_renderer
(self, intrinsic, extrinsic)
lib/Camera.py:29
↓ 1 callers
Function
lbs
Performs Linear Blend Skinning with the given shape and pose parameters Parameters ---------- betas : torch.tensor BxNB
lib/face_models/FLAMEModule.py:112
↓ 1 callers
Method
log
(self, log_data)
lib/Recorder.py:20
↓ 1 callers
Method
project
(self, points_3d, intrinsic, extrinsic)
lib/Fitter.py:64
↓ 1 callers
Method
reg_loss
(self, id_weight, exp_weight)
lib/face_models/BFMModule.py:57
↓ 1 callers
Method
render
(self, mesh, return_mask=False)
lib/Camera.py:45
↓ 1 callers
Method
run
(self)
lib/Fitter.py:19
↓ 1 callers
Function
vertex_normals
:param vertices: [batch size, number of vertices, 3] :param faces: [batch size, number of faces, 3] :return: [batch size, number of verti
lib/face_models/FLAMEModule.py:17
Method
__init__
(self, save_folder, camera, visualize=False, save_vertices=False)
lib/Recorder.py:10
Method
__init__
(self, image_size)
lib/Camera.py:8
Method
__init__
(self, cfg, dataset, face_model, camera, recorder, device)
lib/Fitter.py:7
Method
__init__
(self, landmark_folder, camera_folder)
lib/LandmarkDataset.py:11
Method
__init__
(self, batch_size)
lib/face_models/BFMModule.py:9
Method
__init__
(self, batch_size)
lib/face_models/FaceVerseModule.py:8
Method
__init__
(self, batch_size)
lib/face_models/FLAMEModule.py:412
Method
__init__
(self)
config/config.py:8
Method
__len__
(self)
lib/LandmarkDataset.py:51
Method
forward
(self)
lib/face_models/BFMModule.py:48
Method
forward
(self)
lib/face_models/FaceVerseModule.py:55
Method
forward
Input: shape_params: N X number of shape parameters expression_params: N X number of expression parameter
lib/face_models/FLAMEModule.py:368
Method
forward
(self)
lib/face_models/FLAMEModule.py:430
Method
project
(self, query_pts, calibrations)
lib/Camera.py:22
Method
reg_loss
(self, id_weight, exp_weight)
lib/face_models/FaceVerseModule.py:64
Method
reg_loss
(self, id_weight, exp_weight)
lib/face_models/FLAMEModule.py:450
Method
save
(self, path, batch_id=-1)
lib/face_models/FaceVerseModule.py:69
Method
save
(self, path, batch_id=-1)
lib/face_models/FLAMEModule.py:455