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

Add debug augmenter #502

Merged
merged 2 commits into from
Dec 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions changelogs/master/added/20191117_debug_images.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Generate Debug Images #502

* Added module `imgaug.augmenters.debug`.
* Added function `imgaug.augmenters.debug.draw_debug_image()`. The function
draws an image containing debugging information for a provided set of
images and non-image data (e.g. segmentation maps, bounding boxes)
corresponding to a single batch. The debug image visualizes these
informations (e.g. bounding boxes drawn on images) and offers relevant
information (e.g. actual value ranges of images, labels of bounding
boxes and their counts, etc.).
* Added augmenter `imgaug.augmenters.debug.SaveDebugImageEveryNBatches`.
Augmenter corresponding to `draw_debug_image()`. Saves an image at every
n-th batch into a provided folder.
4 changes: 4 additions & 0 deletions changelogs/master/added/20191117_pad_multi_cval.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Multi-Channel cvals in `pad()` #502

Improved `imgaug.augmenters.size.pad()` to support multi-channel values
for the `cval` parameter (e.g. RGB colors).
2 changes: 2 additions & 0 deletions imgaug/augmenters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Combination of all augmenters, related classes and related functions."""
# pylint: disable=unused-import
from __future__ import absolute_import
from imgaug.augmenters.arithmetic import *
from imgaug.augmenters.artistic import *
Expand All @@ -7,6 +8,7 @@
from imgaug.augmenters.color import *
from imgaug.augmenters.contrast import *
from imgaug.augmenters.convolutional import *
from imgaug.augmenters.debug import *
from imgaug.augmenters.edges import *
from imgaug.augmenters.flip import *
from imgaug.augmenters.geometric import *
Expand Down