MCPcopy Create free account

hub / github.com/XinArkh/VNect / functions

Functions76 in github.com/XinArkh/VNect

↓ 8 callersFunctioncal_angle
(v1, v2)
src/joints2angles.py:6
↓ 7 callersMethodrun
(self)
deprecated/benchmark.py:200
↓ 4 callersMethod__alpha
(self, cutoff)
src/OneEuroFilter.py:58
↓ 4 callersFunctionvector_cross_product
(v1, v2)
src/joints2angles.py:11
↓ 3 callersFunctionhm_pt_interp_bilinear
Determine the value of one desired point by bilinear interpolation. :param src: input heatmap :param scale: scale factor, input box side
src/utils.py:58
↓ 2 callersMethod__setAlpha
(self, alpha)
src/OneEuroFilter.py:19
↓ 2 callersFunctiondimension_transform
convert the 4D array order from caffe style to tensorflow style caffe blob ordering: (num, channels, height, width) tensorflow we
src/caffe2pkl.py:40
↓ 2 callersFunctionimg_scale
Resize a image by s scaler in both x and y directions. :param img: input image :param scale: scale factor, new image side length / raw
src/utils.py:13
↓ 2 callersMethodjoint_filter
(self, joints, dim=2)
src/estimator.py:83
↓ 2 callersMethodload_data
(self, batch_size, joints=None)
src/mpi_inf_3dhp.py:44
↓ 2 callersFunctionvector_norm
(v)
src/joints2angles.py:19
↓ 1 callersMethodBB_init
(self)
deprecated/benchmark.py:92
↓ 1 callersMethod_build_network
(self)
src/vnect_model.py:25
↓ 1 callersMethod_create_input_batch
create multi-scale input batch input image range: [0, 255) --> [-0.4, 0.6)
deprecated/benchmark.py:124
↓ 1 callersMethod_draw_BB_rect
draw bounding box in the BB initialization window, and record current rect (x, y, w, h)
deprecated/benchmark.py:108
↓ 1 callersMethod_exit
(self)
deprecated/benchmark.py:250
↓ 1 callersMethod_imshow_3d
(self)
deprecated/benchmark.py:179
↓ 1 callersMethod_joint_coord_filter
(self)
deprecated/benchmark.py:168
↓ 1 callersMethod_run_net
(self)
deprecated/benchmark.py:136
↓ 1 callersMethodassign_weights_from_dict
(var_name, model_weights, sess)
src/vnect_model.py:231
↓ 1 callersFunctioncaffe2pkl
(bpath, prototxt, caffemodel, pkl_name, spath=None)
src/caffe2pkl.py:91
↓ 1 callersMethodcal_rect
calculate the box size and position
src/hog_box.py:48
↓ 1 callersMethoddraw_rect
draw bounding box in the BB initialization window, and record current rect (x, y, w, h)
src/hog_box.py:61
↓ 1 callersMethodgen_heatmap
(height, width, center_x, center_y, sigma=1)
src/mpi_inf_3dhp.py:116
↓ 1 callersMethodgen_input_batch
(img_input, box_size, scales)
src/estimator.py:71
↓ 1 callersFunctionhog_box
()
run_estimator_ps.py:50
↓ 1 callersFunctionimg_padding
Given the input image and side length of the box, put the image into the center of the box. :param img: the input color image, whose longer
src/utils.py:82
↓ 1 callersFunctioninit
()
run_estimator_ps.py:33
↓ 1 callersFunctioninit_tf_weights
(pfile, spath, model)
init_weights.py:14
↓ 1 callersMethodjoints2angles
(joints_3d)
src/joints2angles.py:60
↓ 1 callersMethodlastValue
(self)
src/OneEuroFilter.py:36
↓ 1 callersFunctionload_net
Load caffe model
src/caffe2pkl.py:12
↓ 1 callersFunctionload_params
Load the parameter values of the layers tfstyle: convert the 4D parameter order to tensorflow style
src/caffe2pkl.py:51
↓ 1 callersMethodload_weights
(self, sess, params_file)
src/vnect_model.py:219
↓ 1 callersFunctionmy_exit
exit opencv environment
run_estimator.py:23
↓ 1 callersFunctionmy_exit
exit opencv environment
deprecated/run_estimator_robot.py:49
↓ 1 callersMethodparse_path
(fpath, train=True)
src/mpi_inf_3dhp.py:100
↓ 1 callersFunctionprint_param_info
Print the names and parameter shapes of the layers
src/caffe2pkl.py:28
↓ 1 callersFunctionsave_params
(net, save_path, pkl_name, tfstyle=True)
src/caffe2pkl.py:83
↓ 1 callersFunctionvector_dot_product
(v1, v2)
src/joints2angles.py:15
Method__call__
(self, value, timestamp=None, alpha=None)
src/OneEuroFilter.py:25
Method__call__
(self, x, timestamp=None)
src/OneEuroFilter.py:63
Method__call__
(self, joints_3d)
src/utils.py:297
Method__call__
(self, joints_3d)
src/joints2angles.py:44
Method__call__
(self, img)
src/hog_box.py:25
Method__call__
(self, img_input)
src/estimator.py:97
Method__init__
(self, host, port=9090)
src/ros_talker.py:13
Method__init__
(self, alpha)
src/OneEuroFilter.py:15
Method__init__
(self, freq, mincutoff=1.0, beta=0.0, dcutoff=1.0)
src/OneEuroFilter.py:43
Method__init__
(self)
src/vnect_model.py:20
Method__init__
(self, ax, joint_parents)
src/utils.py:273
Method__init__
(self, filter=True)
src/joints2angles.py:29
Method__init__
(self, bpath, subjects=None, if_train_set=True)
src/mpi_inf_3dhp.py:29
Method__init__
(self)
src/hog_box.py:16
Method__init__
(self)
src/estimator.py:27
Method__init__
(self, video=None, T=False)
deprecated/benchmark.py:15
Method_on_mouse
attain mouse clicking message
deprecated/benchmark.py:101
Methodani_init
(self)
src/utils.py:291
Functiondraw_limbs_2d
(img, joints_2d, limb_parents, rect)
src/utils.py:222
Functiondraw_limbs_3d
(joints_3d, joint_parents)
src/utils.py:246
Functionextract_2d_joints
Rescale the heatmap to input box size, then extract the coordinates for every joint. :param heatmaps: the input heatmaps :param box_size
src/utils.py:153
Functionextract_3d_joints
Extract 3D coordinates of each joint according to its 2D coordinates. :param joints_2d: 2D array with [joints_num, 2], containing 2D coordin
src/utils.py:178
Functiongen_heatmap
(img_shape, center, sigma=3)
src/utils.py:333
Functionhm_local_interp_bilinear
Heatmap interpolation using a local bilinear method. Reference website: https://zhuanlan.zhihu.com/p/49832048 :param src: input heatmap
src/utils.py:24
Functionimg_scale_padding
For a box image, scale down it and then pad the former area. :param img: the input box image :param scaler: scale factor, new image side
src/utils.py:123
Functionimg_scale_squarify
To scale and squarify the input image into a square box with fixed size. :param img: the input color image :param box_size: the length o
src/utils.py:107
Functionjoints_iter_gen
a generator to yield joints iteratively, supporting 3d animation plot
run_estimator.py:14
Functionjoints_iter_gen
a generator to yield joints iteratively, supporting 3d animation plot
deprecated/run_estimator_robot.py:19
Functionjoints_iter_gen_inner
()
src/utils.py:320
Functionmain
(q_start3d, q_joints)
run_estimator_ps.py:75
Methodon_mouse
attain mouse clicking message
src/hog_box.py:40
Functionplot_3d
(q_start3d, q_joints, joint_parents)
src/utils.py:317
Functionplot_3d_init
(joint_parents, joints_iter_gen)
src/utils.py:307
Functionprint_layer_info
Print the names and the shapes of the layers
src/caffe2pkl.py:18
Methodsend
(self, angles)
src/ros_talker.py:28
Functionser_thread_func
a sub thread function to send serial message with a fixed frequency
deprecated/run_estimator_robot.py:28