Skip to content

Commit

Permalink
keep original default behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
ly015 committed Jul 12, 2022
1 parent 60826a2 commit 77ffbda
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions demo/interhand3d_img_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ def main():
kpt_score_thr=args.kpt_thr,
radius=args.radius,
thickness=args.thickness,
axis_azimuth=-115,
)


Expand Down
2 changes: 1 addition & 1 deletion mmpose/apis/inference_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def vis_3d_pose_result(model,
thickness=2,
vis_height=400,
num_instances=-1,
axis_azimuth=None,
axis_azimuth=70,
show=False,
out_file=None):
"""Visualize the 3D pose estimation results.
Expand Down
4 changes: 2 additions & 2 deletions mmpose/models/detectors/interhand_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def show_result(self,
pose_link_color=None,
vis_height=400,
num_instances=-1,
axis_azimuth=None,
axis_azimuth=-115,
win_name='',
show=False,
wait_time=0,
Expand Down Expand Up @@ -215,7 +215,7 @@ def show_result(self,
pose_link_color,
vis_height,
axis_limit=300,
axis_azimuth=-115 if axis_azimuth is None else axis_azimuth,
axis_azimuth=axis_azimuth,
axis_elev=15,
kpt_score_thr=kpt_score_thr,
num_instances=num_instances)
Expand Down
4 changes: 2 additions & 2 deletions mmpose/models/detectors/pose_lifter.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def show_result(self,
thickness=2,
vis_height=400,
num_instances=-1,
axis_azimuth=None,
axis_azimuth=70,
win_name='',
show=False,
wait_time=0,
Expand Down Expand Up @@ -391,7 +391,7 @@ def show_result(self,
pose_link_color,
vis_height,
num_instances=num_instances,
axis_azimuth=70 if axis_azimuth is None else axis_azimuth,
axis_azimuth=axis_azimuth,
)

if show:
Expand Down

0 comments on commit 77ffbda

Please sign in to comment.