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

Allow index-based access to OnImage instances #547

Merged
merged 1 commit into from
Jan 11, 2020
Merged

Allow index-based access to OnImage instances #547

merged 1 commit into from
Jan 11, 2020

Conversation

aleju
Copy link
Owner

@aleju aleju commented Jan 2, 2020

Enabled index-based access to coordinate-based *OnImage instances,
i.e. to KeypointsOnImage, BoundingBoxesOnImage,
LineStringsOnImage and PolygonsOnImage. This allows to do
things like
bbsoi = BoundingBoxesOnImage(...); bbs = bbsoi[0:2];.

@codecov-io
Copy link

codecov-io commented Jan 2, 2020

Codecov Report

Merging #547 into master will increase coverage by 0.85%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #547      +/-   ##
=========================================
+ Coverage   95.95%   96.8%   +0.85%     
=========================================
  Files          38      38              
  Lines       13933   16434    +2501     
=========================================
+ Hits        13369   15908    +2539     
+ Misses        564     526      -38

@aleju aleju changed the title Allow index-based acces to OnImage instances Allow index-based access to OnImage instances Jan 4, 2020
Enable index-based access to coordinate-based `*OnImage` instances,
i.e. to `KeypointsOnImage`, `BoundingBoxesOnImage`,
`LineStringsOnImage` and `PolygonsOnImage`. This allows to do
things like
`bbsoi = BoundingBoxesOnImage(...); bbs = bbsoi[0:2];`.
@aleju aleju merged commit 565d6e0 into master Jan 11, 2020
@aleju aleju deleted the cba_index branch January 11, 2020 13:38
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.

2 participants