Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XinArkh/VNect
/ functions
Functions
76 in github.com/XinArkh/VNect
⨍
Functions
76
◇
Types & classes
10
↓ 8 callers
Function
cal_angle
(v1, v2)
src/joints2angles.py:6
↓ 7 callers
Method
run
(self)
deprecated/benchmark.py:200
↓ 4 callers
Method
__alpha
(self, cutoff)
src/OneEuroFilter.py:58
↓ 4 callers
Function
vector_cross_product
(v1, v2)
src/joints2angles.py:11
↓ 3 callers
Function
hm_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 callers
Method
__setAlpha
(self, alpha)
src/OneEuroFilter.py:19
↓ 2 callers
Function
dimension_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 callers
Function
img_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 callers
Method
joint_filter
(self, joints, dim=2)
src/estimator.py:83
↓ 2 callers
Method
load_data
(self, batch_size, joints=None)
src/mpi_inf_3dhp.py:44
↓ 2 callers
Function
vector_norm
(v)
src/joints2angles.py:19
↓ 1 callers
Method
BB_init
(self)
deprecated/benchmark.py:92
↓ 1 callers
Method
_build_network
(self)
src/vnect_model.py:25
↓ 1 callers
Method
_create_input_batch
create multi-scale input batch input image range: [0, 255) --> [-0.4, 0.6)
deprecated/benchmark.py:124
↓ 1 callers
Method
_draw_BB_rect
draw bounding box in the BB initialization window, and record current rect (x, y, w, h)
deprecated/benchmark.py:108
↓ 1 callers
Method
_exit
(self)
deprecated/benchmark.py:250
↓ 1 callers
Method
_imshow_3d
(self)
deprecated/benchmark.py:179
↓ 1 callers
Method
_joint_coord_filter
(self)
deprecated/benchmark.py:168
↓ 1 callers
Method
_run_net
(self)
deprecated/benchmark.py:136
↓ 1 callers
Method
assign_weights_from_dict
(var_name, model_weights, sess)
src/vnect_model.py:231
↓ 1 callers
Function
caffe2pkl
(bpath, prototxt, caffemodel, pkl_name, spath=None)
src/caffe2pkl.py:91
↓ 1 callers
Method
cal_rect
calculate the box size and position
src/hog_box.py:48
↓ 1 callers
Method
draw_rect
draw bounding box in the BB initialization window, and record current rect (x, y, w, h)
src/hog_box.py:61
↓ 1 callers
Method
gen_heatmap
(height, width, center_x, center_y, sigma=1)
src/mpi_inf_3dhp.py:116
↓ 1 callers
Method
gen_input_batch
(img_input, box_size, scales)
src/estimator.py:71
↓ 1 callers
Function
hog_box
()
run_estimator_ps.py:50
↓ 1 callers
Function
img_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 callers
Function
init
()
run_estimator_ps.py:33
↓ 1 callers
Function
init_tf_weights
(pfile, spath, model)
init_weights.py:14
↓ 1 callers
Method
joints2angles
(joints_3d)
src/joints2angles.py:60
↓ 1 callers
Method
lastValue
(self)
src/OneEuroFilter.py:36
↓ 1 callers
Function
load_net
Load caffe model
src/caffe2pkl.py:12
↓ 1 callers
Function
load_params
Load the parameter values of the layers tfstyle: convert the 4D parameter order to tensorflow style
src/caffe2pkl.py:51
↓ 1 callers
Method
load_weights
(self, sess, params_file)
src/vnect_model.py:219
↓ 1 callers
Function
my_exit
exit opencv environment
run_estimator.py:23
↓ 1 callers
Function
my_exit
exit opencv environment
deprecated/run_estimator_robot.py:49
↓ 1 callers
Method
parse_path
(fpath, train=True)
src/mpi_inf_3dhp.py:100
↓ 1 callers
Function
print_param_info
Print the names and parameter shapes of the layers
src/caffe2pkl.py:28
↓ 1 callers
Function
save_params
(net, save_path, pkl_name, tfstyle=True)
src/caffe2pkl.py:83
↓ 1 callers
Function
vector_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
Method
ani_init
(self)
src/utils.py:291
Function
draw_limbs_2d
(img, joints_2d, limb_parents, rect)
src/utils.py:222
Function
draw_limbs_3d
(joints_3d, joint_parents)
src/utils.py:246
Function
extract_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
Function
extract_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
Function
gen_heatmap
(img_shape, center, sigma=3)
src/utils.py:333
Function
hm_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
Function
img_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
Function
img_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
Function
joints_iter_gen
a generator to yield joints iteratively, supporting 3d animation plot
run_estimator.py:14
Function
joints_iter_gen
a generator to yield joints iteratively, supporting 3d animation plot
deprecated/run_estimator_robot.py:19
Function
joints_iter_gen_inner
()
src/utils.py:320
Function
main
(q_start3d, q_joints)
run_estimator_ps.py:75
Method
on_mouse
attain mouse clicking message
src/hog_box.py:40
Function
plot_3d
(q_start3d, q_joints, joint_parents)
src/utils.py:317
Function
plot_3d_init
(joint_parents, joints_iter_gen)
src/utils.py:307
Function
print_layer_info
Print the names and the shapes of the layers
src/caffe2pkl.py:18
Method
send
(self, angles)
src/ros_talker.py:28
Function
ser_thread_func
a sub thread function to send serial message with a fixed frequency
deprecated/run_estimator_robot.py:28