-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow index-based acces to OnImage instances
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];`.
- Loading branch information
Showing
9 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Index-based Access to Coordinate-based *OnImage Instances #547 | ||
|
||
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];`. | ||
|
||
* Added `imgaug.augmentables.kps.KeypointsOnImage.__getitem__()`. | ||
* Added `imgaug.augmentables.bbs.BoundingBoxesOnImage.__getitem__()`. | ||
* Added `imgaug.augmentables.lines.LineStringsOnImage.__getitem__()`. | ||
* Added `imgaug.augmentables.polys.PolygonsOnImage.__getitem__()`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters