MCPcopy Create free account

hub / github.com/ZhengZerong/im2smpl / functions

Functions95 in github.com/ZhengZerong/im2smpl

↓ 8 callersFunctionglobal_rigid_transformation
(pose, J, kintree_table, xp)
smplify_public/code/smpl_webuser/lbs.py:27
↓ 7 callersFunctionload_model
(fname_or_dict)
smplify_public/code/smpl_webuser/serialization.py:115
↓ 4 callersFunctionGMOf
Given x and sigma in some units (say mm), returns robustified values (in same units), by making use of the Geman-McClure robustifier.
smplify_public/code/lib/robustifiers.py:19
↓ 3 callersFunction_rotateY
Rotate the points by a specified angle.
smplify_public/code/render_model.py:45
↓ 3 callersFunctionposemap
(s)
smplify_public/code/smpl_webuser/posemapper.py:45
↓ 3 callersFunctionverts_decorated
(trans, pose, v_template, J, weights, kintree_table, bs_style, f, bs_type=None, posedirs=None, betas=
smplify_public/code/smpl_webuser/verts.py:32
↓ 2 callersFunctioncapsule_dist
(capsule0, capsule1, alpha=.3, increase_hand=True)
smplify_public/code/lib/capsule_body.py:189
↓ 2 callersMethodget_gmm_prior
Getter implementation.
smplify_public/code/lib/max_mixture_prior.py:117
↓ 2 callersMethodget_objective
(self)
smplify_public/code/lib/sphere_collisions.py:69
↓ 2 callersFunctionischumpy
(x)
smplify_public/code/smpl_webuser/verts.py:30
↓ 2 callersFunctionrender_model
(verts, faces, w, h, cam, near=0.5, far=25, img=None)
smplify_public/code/render_model.py:104
↓ 2 callersFunctionwaitgpu
(empty_thres_duration=10)
main_wo_cropping.py:51
↓ 2 callersFunctionwaitgpu
(empty_thres_duration=7)
main.py:52
↓ 1 callersFunction_create_renderer
(w=640, h=480, rt=np.zeros(3), t=np.zeros(3),
smplify_public/code/render_model.py:24
↓ 1 callersFunctionanimation
()
smplify_public/code/visualize_mesh_sequence.py:31
↓ 1 callersFunctionbackwards_compatibility_replacements
(dd)
smplify_public/code/smpl_webuser/serialization.py:52
↓ 1 callersFunctioncreate_img_reader
(coord, img_file, out_dir, h, w)
detect_bbox_by_parsing.py:50
↓ 1 callersFunctioncreate_img_reader
(coord, img_file, out_dir, h, w)
segment_by_parsing.py:51
↓ 1 callersFunctioncreate_network
creates main network architecture
detect_bbox_by_parsing.py:67
↓ 1 callersFunctioncreate_network
creates main network architecture
segment_by_parsing.py:68
↓ 1 callersMethodcreate_prior_from_cmu
Load the gmm from the CMU motion database.
smplify_public/code/lib/max_mixture_prior.py:90
↓ 1 callersFunctioncrop_or_pad_img
crops or pads the original image to make the subject located at the center of the image and occupy 90% of the image
main.py:89
↓ 1 callersFunctiondetect
Detects object classes in an image using pre-computed object proposals.
detect_human.py:76
↓ 1 callersFunctiondetect_human
obtains bounding box of the subject in the input image
main.py:70
↓ 1 callersFunctionextract_bbox
(parsing_, h, w, radius=20)
detect_bbox_by_parsing.py:162
↓ 1 callersFunctionextract_bbox
extracts bounding box information from detection results
detect_human.py:60
↓ 1 callersFunctionextract_segment
(parsing)
segment_by_parsing.py:163
↓ 1 callersFunctionget_alpha
(imtmp, bgval=1.)
smplify_public/code/render_model.py:93
↓ 1 callersFunctionget_capsules
(model, wrt_betas=None, length_regs=None, rad_regs=None)
smplify_public/code/lib/capsule_body.py:87
↓ 1 callersFunctionget_sphere_bweights
(sph_vs, capsules)
smplify_public/code/lib/capsule_body.py:220
↓ 1 callersFunctionguess_init
Initialize the camera translation via triangle similarity, by using the torso joints . :param model: SMPL model :param focal_length
fit_3d_accurate.py:79
↓ 1 callersFunctionguess_init
Initialize the camera translation via triangle similarity, by using the torso joints . :param model: SMPL model :param focal_length: ca
smplify_public/code/fit_3d.py:56
↓ 1 callersFunctioninfer_smpl_and_pose
(fname, out_dir)
main_wo_cropping.py:123
↓ 1 callersFunctioninfer_smpl_and_pose
(fname, out_dir)
main.py:124
↓ 1 callersFunctioninitialize_camera
Initialize camera translation and body orientation :param model: SMPL model :param j2d: 14x2 array of CNN joints :param img: h x w x 3 ima
fit_3d_accurate.py:111
↓ 1 callersFunctioninitialize_camera
Initialize camera translation and body orientation :param model: SMPL model :param j2d: 14x2 array of CNN joints :param img: h x w x 3 ima
smplify_public/code/fit_3d.py:89
↓ 1 callersFunctionmain
(img_fname, out_dir)
main_wo_cropping.py:183
↓ 1 callersFunctionmain
(img_file, out_dir)
detect_bbox_by_parsing.py:179
↓ 1 callersFunctionmain
(img_dir, joint_dir, joint_scores_dir, seg_dir, smpl_param_dir, smpl_dir, out_dir)
fit_3d_accurate.py:515
↓ 1 callersFunctionmain
(img_fname, out_dir, visualized=False)
detect_human.py:97
↓ 1 callersFunctionmain
(img_fname, out_dir)
infer_smpl.py:70
↓ 1 callersFunctionmain
(img_file, out_dir)
segment_by_parsing.py:169
↓ 1 callersFunctionmain
(img_fname, out_dir)
main.py:184
↓ 1 callersFunctionmain
Set up paths to image and joint data, saves results. :param base_dir: folder containing LSP images and data :param out_dir: output folder
smplify_public/code/fit_3d.py:491
↓ 1 callersFunctionmain
(hdf5_path)
smplify_public/code/visualize_mesh_sequence.py:22
↓ 1 callersFunctionon_step
Draw a visualization.
smplify_public/code/fit_3d.py:154
↓ 1 callersFunctionoptimize_on_joints
Fit the model to the given set of joints, given the estimated camera :param j2d: 14x2 array of CNN joints :param model: SMPL model :param
smplify_public/code/fit_3d.py:189
↓ 1 callersFunctionoptimize_on_joints_and_silhouette
Fit the model to the given set of joints, given the estimated camera :param j2d: 14x2 array of CNN joints :param sil: h x w silhouette with so
fit_3d_accurate.py:287
↓ 1 callersFunctionoptimize_smpl
(fname, out_dir)
main_wo_cropping.py:168
↓ 1 callersFunctionoptimize_smpl
(fname, out_dir)
main.py:169
↓ 1 callersFunctionparse_args
()
main_wo_cropping.py:44
↓ 1 callersFunctionparse_args
()
detect_bbox_by_parsing.py:43
↓ 1 callersFunctionparse_args
()
fit_3d_accurate.py:69
↓ 1 callersFunctionparse_args
()
detect_human.py:53
↓ 1 callersFunctionparse_args
()
segment_by_parsing.py:44
↓ 1 callersFunctionparse_args
()
main.py:45
↓ 1 callersFunctionpreprocess_image
(img_path, img_size=224)
infer_smpl.py:49
↓ 1 callersFunctionprocess_output
processes network output
detect_bbox_by_parsing.py:120
↓ 1 callersFunctionprocess_output
processes network output
segment_by_parsing.py:121
↓ 1 callersFunctionproj_smpl_onto_img
(img, smpl, pose, shape, cam_f, cam_t)
fit_3d_accurate.py:495
↓ 1 callersFunctionready_arguments
(fname_or_dict)
smplify_public/code/smpl_webuser/serialization.py:77
↓ 1 callersFunctionrestore_network
()
detect_bbox_by_parsing.py:144
↓ 1 callersFunctionrestore_network
()
segment_by_parsing.py:145
↓ 1 callersFunctionrun_single_fit
Run the fit for one specific image. :param img: h x w x 3 image :param j2d: 14x2 array of CNN joints :param conf: 14D vector storing the c
fit_3d_accurate.py:444
↓ 1 callersFunctionrun_single_fit
Run the fit for one specific image. :param img: h x w x 3 image :param j2d: 14x2 array of CNN joints :param conf: 14D vector storing the
smplify_public/code/fit_3d.py:398
↓ 1 callersFunctionset_sphere_centers
(capsule, floor=True)
smplify_public/code/lib/capsule_body.py:161
↓ 1 callersMethodset_sphere_centers
(self, floor=False)
smplify_public/code/lib/capsule_ch.py:86
↓ 1 callersFunctionsimple_renderer
(rn, verts, faces, yrot=np.radians(120))
smplify_public/code/render_model.py:54
↓ 1 callersMethodupdate_capsules_and_centers
(self)
smplify_public/code/lib/sphere_collisions.py:25
↓ 1 callersMethodupdate_pose
(self)
smplify_public/code/lib/sphere_collisions.py:60
↓ 1 callersFunctionverts_core
(pose, v, J, weights, kintree_table, want_Jtr=False, xp=chumpy)
smplify_public/code/smpl_webuser/lbs.py:63
↓ 1 callersFunctionverts_core
(pose, v, J, weights, kintree_table, bs_style, want_Jtr=False, xp=chumpy)
smplify_public/code/smpl_webuser/verts.py:92
Method__call__
(self, x)
smplify_public/code/lib/max_mixture_prior.py:72
Method__init__
(self, means, precs, weights, prefix)
smplify_public/code/lib/max_mixture_prior.py:66
Method__init__
(self, n_gaussians=8, prefix=3)
smplify_public/code/lib/max_mixture_prior.py:85
Method__init__
(self, t, rod, rad, length)
smplify_public/code/lib/capsule_ch.py:69
Methodcompute_dr_wrt
(self, wrt)
smplify_public/code/smpl_webuser/posemapper.py:31
Methodcompute_dr_wrt
(self, wrt)
smplify_public/code/lib/robustifiers.py:35
Methodcompute_dr_wrt
(self, wrt)
smplify_public/code/lib/robustifiers.py:59
Methodcompute_dr_wrt
(self, wrt)
smplify_public/code/lib/max_mixture_prior.py:44
Methodcompute_dr_wrt
(self, wrt)
smplify_public/code/lib/sphere_collisions.py:77
Methodcompute_r
(self)
smplify_public/code/smpl_webuser/posemapper.py:28
Methodcompute_r
(self)
smplify_public/code/lib/robustifiers.py:32
Methodcompute_r
(self)
smplify_public/code/lib/robustifiers.py:54
Methodcompute_r
(self)
smplify_public/code/lib/max_mixture_prior.py:38
Methodcompute_r
(self)
smplify_public/code/lib/sphere_collisions.py:74
Functioncrop_or_pad_img
crops or pads the original image to make the subject located at the center of the image and occupy 90% of the image
main_wo_cropping.py:88
Functiondetect_human
obtains bounding box of the subject in the input image
main_wo_cropping.py:69
Functionget_capsule_bweights
(vs)
smplify_public/code/lib/capsule_body.py:209
Functionlrotmin
(p)
smplify_public/code/smpl_webuser/posemapper.py:36
Methodon_changed
(self, which)
smplify_public/code/lib/robustifiers.py:47
Methodon_changed
(self, which)
smplify_public/code/lib/max_mixture_prior.py:24
Methodon_changed
(self, which)
smplify_public/code/lib/sphere_collisions.py:83
Functionoptimize_on_joints
Fit the model to the given set of joints, given the estimated camera :param j2d: 14x2 array of CNN joints :param model: SMPL model :param
fit_3d_accurate.py:164
Functionsave_model
(model, fname)
smplify_public/code/smpl_webuser/serialization.py:32