Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix out of bound points crashing line drawing function #674

Merged

Conversation

joaqo
Copy link
Contributor

@joaqo joaqo commented Sep 29, 2020

When drawing lines on images, if one of the points in the line is outside the image bounds, it causes a crash in the line drawing function. This PR fixes that.

Copy link
Contributor

@BradLarson BradLarson left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the fix!

@BradLarson BradLarson merged commit 1a3541c into tensorflow:master Sep 29, 2020
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.

3 participants