Skip to content

Commit

Permalink
Merge 7d7162b into 91c0a84
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Louis authored Aug 18, 2023
2 parents 91c0a84 + 7d7162b commit 45ab322
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mmpose/visualization/local_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,10 @@ def _draw_instances_kpts(self,
alpha=transparency,
line_widths=self.radius)
if show_kpt_idx:
kpt[0] += self.radius
kpt[1] -= self.radius
kpt_idx_coords = kpt + [self.radius, -self.radius]
self.draw_texts(
str(kid),
kpt,
kpt_idx_coords,
colors=color,
font_sizes=self.radius * 3,
vertical_alignments='bottom',
Expand Down

0 comments on commit 45ab322

Please sign in to comment.