Skip to content

Conversation

@pyaf
Copy link

@pyaf pyaf commented Sep 17, 2019

Fixed #33
Changes:

  1. Little modification with a code comment. (L1065).
  2. Removed a redundant line (L1066).
  3. Removed for loop, as there will be only one box for a given annotation token.
  4. Added title to LIDAR view plot.

@pyaf
Copy link
Author

pyaf commented Sep 17, 2019

Also, signed the CLA.

axes[0].set_ylim([np.min(corners[1, :]) - margin, np.max(corners[1, :]) + margin])
axes[0].axis("off")
axes[0].set_aspect("equal")
box = boxes[0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it would be great to add an assert or write in a way that will fail in case there are more than one boxes, e.g.

Suggested change
box = boxes[0]
box, = boxes

and same with removing the loop below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A small issue in render_annotation function

2 participants