MCPcopy Create free account

hub / github.com/Pixel-Talk/EHM-Tracker / functions

Functions581 in github.com/Pixel-Talk/EHM-Tracker

↓ 1 callersFunctiondecode
Modulate simcc distribution with Gaussian. Args: simcc_x (np.ndarray[K, Wx]): model predicted simcc in x. simcc_y (np.ndarray[K,
src/modules/dwpose/onnxpose.py:332
↓ 1 callersMethoddecode
Decode model parameters to smplx vertices & joints & texture Args: param_dict: smplx parameters param_type: should be
src/modules/pixie/pixie_encoder.py:403
↓ 1 callersFunctiondemo_postprocess
(outputs, img_size, p6=False)
src/modules/dwpose/onnxdet.py:57
↓ 1 callersFunctiondiff_x
(input, r)
src/modules/human_matting/stylematte.py:239
↓ 1 callersFunctiondiff_y
(input, r)
src/modules/human_matting/stylematte.py:251
↓ 1 callersMethoddisplacement2normal
Convert displacement map into detail normal map
src/modules/pixie/visualizer.py:105
↓ 1 callersFunctionexpid2model
(expr_dir)
src/modules/refiner/ehm_refiner.py:25
↓ 1 callersMethodfix_mirror_issue
(self, pts3d, image_size)
src/modules/refiner/ehm_refiner.py:170
↓ 1 callersFunctiongauss_fcn
(x)
src/modules/pixie/utils/util.py:241
↓ 1 callersFunctiongaussian
(window_size, sigma)
src/modules/pixie/utils/util.py:240
↓ 1 callersFunctionget_2d_keypoints_weight
(body_lmk_score)
src/modules/refiner/ehm_refiner.py:450
↓ 1 callersFunctionget_cfg_defaults
Get a yacs CfgNode object with default values for my_project.
src/modules/pixie/utils/config.py:168
↓ 1 callersFunctionget_compact_idx
(connections)
src/utils/draw.py:100
↓ 1 callersMethodget_fid_by_region
Get face indicies by regions
src/modules/flame/FLAME.py:698
↓ 1 callersFunctionget_gaussian_kernel2d
r"""Function that returns Gaussian filter matrix coefficients. Args: kernel_size (Tuple[int, int]): filter sizes in the x and y direction
src/modules/pixie/utils/util.py:275
↓ 1 callersFunctionget_gpu_info
()
src/utils/helper.py:286
↓ 1 callersMethodget_image_name
(self, image_fp, using_last_k=1)
src/tracking_single_image.py:64
↓ 1 callersFunctionget_laplacian_kernel2d
r"""Function that returns Gaussian filter matrix coefficients. Args: kernel_size (int): filter size should be odd. Returns:
src/modules/pixie/utils/util.py:343
↓ 1 callersMethodget_max_area_bbox_index
(self, keypoints)
src/modules/dwpose/__init__.py:49
↓ 1 callersMethodget_num_inchannels
(self)
src/modules/pixie/models/hrnet.py:172
↓ 1 callersFunctionget_obj_from_str
(string, reload=False)
src/utils/helper.py:140
↓ 1 callersMethodget_preds_fromhm
Obtain (x,y) coordinates given a set of N heatmaps. If the center and the scale is provided the function will return the points also in
src/utils/fan_landmark_runner.py:126
↓ 1 callersFunctionget_simcc_maximum
Get maximum response location and value from simcc representations. Note: instance number: N num_keypoints: K heatmap hei
src/modules/dwpose/onnxpose.py:287
↓ 1 callersMethodget_union_human_box_in_video
(self, video_fp,frame_interval=1)
src/data_prepare_pipeline.py:71
↓ 1 callersMethodget_vid_except_region
(self, regions)
src/modules/flame/FLAME.py:684
↓ 1 callersFunctionget_video_duration
(file_path)
src/utils/video.py:141
↓ 1 callersMethodget_video_name
(self, video_fp, using_last_k=1)
src/data_prepare_pipeline.py:60
↓ 1 callersFunctionget_warp_matrix
Calculate the affine transformation matrix that can warp the bbox area in the input image to the output size. Args: center (np.ndarra
src/modules/dwpose/onnxpose.py:200
↓ 1 callersFunctioninference
Inference RTMPose model. Args: sess (ort.InferenceSession): ONNXRuntime session. img (np.ndarray): Input image in shape. Ret
src/modules/dwpose/onnxpose.py:51
↓ 1 callersFunctioninference_pose
(session, out_bbox, oriImg)
src/modules/dwpose/onnxpose.py:352
↓ 1 callersMethodinit_models
(self, )
src/modules/human_matting/matting.py:13
↓ 1 callersMethodinit_weights
(self)
src/modules/teaser/smirk_encoder.py:26
↓ 1 callersMethodinit_weights
(self)
src/modules/teaser/smirk_encoder.py:61
↓ 1 callersMethodinit_weights
(self)
src/modules/teaser/smirk_encoder.py:90
↓ 1 callersMethodinit_weights
(self)
src/modules/pixie/models/hrnet.py:499
↓ 1 callersFunctionlbs
Performs Linear Blend Skinning with the given shape and pose parameters Parameters ---------- betas : torch.tensor BxNB
src/modules/flame/lbs.py:142
↓ 1 callersMethodlight_albedo
add estimated SH lighting to face albedo
src/modules/pixie/visualizer.py:146
↓ 1 callersFunctionload_images_from_directory
(directory, n_limit=-1)
src/utils/io.py:39
↓ 1 callersFunctionload_images_from_video
(file_path, n_limit=-1)
src/utils/io.py:45
↓ 1 callersFunctionload_vposer
:param expr_dir: :param vp_model: either 'snapshot' to use the experiment folder's code or a VPoser imported module, e.g. from human_body
src/modules/refiner/ehm_refiner.py:37
↓ 1 callersFunctionmain
()
tracking_video.py:55
↓ 1 callersFunctionmulticlass_nms
Multiclass NMS implemented in Numpy. Class-aware version.
src/modules/dwpose/onnxdet.py:34
↓ 1 callersFunctionnms
Single class NMS implemented in Numpy.
src/modules/dwpose/onnxdet.py:5
↓ 1 callersFunctionnumber_to_rgb
(n)
src/utils/draw.py:13
↓ 1 callersMethodoptimize
(self, track_frames, batch_base,id_share_params_result=None, batch_id=0, steps=1001, share_id=True,batch_imgs=
src/modules/refiner/flame_refiner.py:39
↓ 1 callersMethodoptimize
(self, track_frames, batch_base,id_share_parms, batch_id=0, steps=1001, share_id=True,batch_imgs=None,interval
src/modules/refiner/ehm_refiner.py:176
↓ 1 callersFunctionparse_bbox_from_landmark
(pts, **kwargs)
src/utils/crop.py:223
↓ 1 callersFunctionparse_pt2_from_pt106
parsing the 2 points according to the 106 points, which cancels the roll
src/utils/crop.py:58
↓ 1 callersFunctionparse_pt2_from_pt203
parsing the 2 points according to the 203 points, which cancels the roll
src/utils/crop.py:75
↓ 1 callersFunctionparse_pt2_from_pt5
parsing the 2 points according to the 5 points, which cancels the roll
src/utils/crop.py:118
↓ 1 callersFunctionparse_pt2_from_pt68
parsing the 2 points according to the 68 points, which cancels the roll
src/utils/crop.py:91
↓ 1 callersFunctionparse_pt2_from_pt_x
(pts, use_lip=True)
src/utils/crop.py:135
↓ 1 callersMethodpart_from_body
crop part(head/left_hand/right_hand) out from body data, joints also change accordingly
src/modules/pixie/pixie.py:202
↓ 1 callersMethodpart_from_body
crop part(head/left_hand/right_hand) out from body data, joints also change accordingly
src/modules/pixie/pixie_encoder.py:156
↓ 1 callersFunctionpartial_fields
(target_class, kwargs)
tracking_video.py:13
↓ 1 callersFunctionplot_kpts
Draw 68 key points Args: image: the input image kpt: (68, 3).
src/modules/pixie/utils/util.py:664
↓ 1 callersFunctionpoints2bbox
(points, points_scale=None)
src/modules/pixie/utils/tensor_cropper.py:14
↓ 1 callersFunctionpoints2bbox
(points, points_scale=None)
src/modules/pixie/utils/array_cropper.py:13
↓ 1 callersFunctionpostprocess
Postprocess for RTMPose model output. Args: outputs (np.ndarray): Output of RTMPose model. model_input_size (tuple): RTMPose mode
src/modules/dwpose/onnxpose.py:79
↓ 1 callersMethodprepare_ref_vertices
(self, head_coeff_lst, head_crop_meta, left_hand_coeff_lst, left_hand_crop_meta,
src/modules/refiner/ehm_refiner.py:127
↓ 1 callersFunctionpreprocess
(img, input_size, swap=(2, 0, 1))
src/modules/dwpose/onnxdet.py:79
↓ 1 callersFunctionpreprocess
Do preprocessing for RTMPose model inference. Args: img (np.ndarray): Input image in shape. input_size (tuple): Input image size
src/modules/dwpose/onnxpose.py:6
↓ 1 callersMethodprocess_vertex_mask
Load the vertex masks from the FLAME model and add custom masks
src/modules/flame/FLAME.py:427
↓ 1 callersFunctionremove_ddp_dumplicate_key
(state_dict)
src/utils/helper.py:133
↓ 1 callersFunctionrotation_matrix_to_quaternion
Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is based on algorithm described in https://github.com/KieranWynn/pyquatern
src/modules/pixie/utils/rotation_converter.py:79
↓ 1 callersFunctionrotation_matrix_to_quaternion
Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is based on algorithm described in https://github.com/KieranWynn/pyquatern
src/utils/rotation_converter.py:80
↓ 1 callersMethodrun
(self, img_rgb: np.ndarray, lmk=None)
src/utils/fan_landmark_runner.py:150
↓ 1 callersFunctionseconds_to_hms
(seconds)
src/utils/helper.py:16
↓ 1 callersFunctionset_rasterizer
(type='pytorch3d')
src/modules/pixie/utils/renderer.py:16
↓ 1 callersFunctionsort_by_direction
(faces, direction: str = 'large-small', face_center=None)
src/utils/face_analysis_diy.py:12
↓ 1 callersFunctionstandard_rasterize
src/modules/pixie/utils/rasterizer/standard_rasterize_cuda.cpp:13
↓ 1 callersFunctiont_get_preds_fromhm
Obtain (x,y) coordinates given a set of N heatmaps and the coresponding locations of the maximums. If the center and the scale is provided the
src/utils/fan_landmark_runner.py:26
↓ 1 callersFunctionto_ndarray
(obj)
src/utils/landmark_runner.py:15
↓ 1 callersFunctiontop_down_affine
Get the bbox image as the model input by affine transform. Args: input_size (dict): The input size of the model. bbox_scale (dict
src/modules/dwpose/onnxpose.py:254
↓ 1 callersMethodtrack_base
(self, img_rgb, union_box=None, last_results=None)
src/tracking_single_image.py:109
↓ 1 callersMethodtrack_base
(self, img_rgb, union_box=None, last_results=None)
src/data_prepare_pipeline.py:102
↓ 1 callersMethodtransform
(self, meshes_world, **kwargs)
src/utils/graphics.py:237
↓ 1 callersFunctiontransform_mat
Creates a batch of transformation matrices Args: - R: Bx3x3 array of a batch of rotation matrices - t: Bx3x1 array of
src/modules/smplx/lbs.py:317
↓ 1 callersFunctiontransform_mat
Creates a batch of transformation matrices Args: - R: Bx3x3 array of a batch of rotation matrices - t: Bx3x1 array of
src/modules/flame/lbs.py:344
↓ 1 callersFunctiontransform_np
Generate and affine transformation matrix. Given a set of points, a center, a scale and a targer resolution, the function generates and affin
src/utils/fan_landmark_runner.py:67
↓ 1 callersFunctiontransform_points
(points, tform, points_scale=None)
src/modules/pixie/utils/tensor_cropper.py:120
↓ 1 callersMethodtransform_points_to_ndc
(self, points, eps = None, **kwargs)
src/utils/graphics.py:127
↓ 1 callersMethodtransform_points_to_screen
with_xyflip: obey pytroch 3d coordinate
src/utils/graphics.py:176
↓ 1 callersMethodtransform_points_to_view
(self, points, eps = None, **kwargs)
src/utils/graphics.py:78
↓ 1 callersMethodtransform_points_view_to_ndc
(self, points, eps = None, **kwargs)
src/utils/graphics.py:160
↓ 1 callersFunctionupdate_cfg
(cfg, cfg_file)
src/modules/pixie/utils/config.py:174
↓ 1 callersFunctionvertices2joints
Calculates the 3D joint locations from the vertices Parameters ---------- J_regressor : torch.tensor JxV The regressor array tha
src/modules/flame/lbs.py:266
↓ 1 callersMethodvisualize_grid
image range should be [0,1] dim: 2 for horizontal. 1 for vertical
src/modules/pixie/visualizer.py:326
FunctionPYBIND11_MODULE
src/modules/pixie/utils/rasterizer/standard_rasterize_cuda.cpp:43
Method__call__
(self, *args)
src/modules/base/onnx_model.py:14
Method__call__
(self, oriImg)
src/modules/dwpose/wholebody.py:17
Method__call__
(self, oriImg:np.ndarray)
src/modules/dwpose/__init__.py:64
Method__del__
(self,)
src/utils/lmdb.py:40
Method__getitem__
(self, key_name)
src/utils/lmdb.py:29
Method__init__
(self, data_prepare_cfg: DataPreparationConfig)
src/tracking_single_image.py:34
Method__init__
(self, data_prepare_cfg: DataPreparationConfig)
src/data_prepare_pipeline.py:29
Method__init__
(self)
src/modules/human_matting/stylematte.py:8
Method__init__
(self, in_channels, bin_sizes=[1, 2, 4, 6])
src/modules/human_matting/stylematte.py:86
Method__init__
(self, r, eps=1e-8)
src/modules/human_matting/stylematte.py:116
Method__init__
(self, r=1, eps=1e-8)
src/modules/human_matting/stylematte.py:157
← previousnext →201–300 of 581, ranked by callers