Releases: waikato-ufdl/wai-annotations-core
Releases · waikato-ufdl/wai-annotations-core
wai.annotations.core v0.2.2
wai.annotations.core v0.2.1
0.2.1 (2022-10-20)
- Added WriteLabels ISP which can read labels from classification, object-detection
and image-segmentation streams, and writes them to disk.
Release v0.2.0
- FilterLabels ISP now treats elements as negative ones if no labels left after filtering (in order to use
discard-negatives
in pipeline); also works on image classification domain now as well - FilterLabels ISP can filter out located objects that don't fall within a certain region (x,y,w,h - normalized or absolute) using a supplied IoU threshold; useful when concentrating on annotations in the center of an image, e.g., for images generated with the subimages ISP (object detection domain only)
logging._LoggingEnabled
module now sets the numba logging level toWARNING
logging._LoggingEnabled
module now sets the shapely logging level toWARNING
core.domain.Data
class now stores the path of the file as well- Rename ISP allows renaming of files, e.g., for disambiguating across batches
batch_split.Splitter
now handles cases when the regexp does not produce any matches (and outputs a warning when in verbose mode)- Added LabelPresent ISP, which skips object detection images that do not have specified labels (or if annotations do not overlap with defined regions; can be inverted).
- Using wai.common==0.0.40 now to avoid parse error output when accessing
poly_x
/poly_y
meta-data inLocatedObject
instances when containing empty strings. - The CleanTranscript ISP can be used to clean up speech transcripts.
- Bug fix for splitting where split-scheduling was calculated with swapped iteration order, leading to runs of splits rather than desired interleaving. Added --no-interleave flag to re-enable bug for backwards compatibility.
Release v0.1.8
- Added new audio domain for classification using suffix
-ac
- Added dataset reader for audio files:
from-audio-files-sp
,from-audio-files-ac
- Added dataset writer for audio files:
to-audio-files-sp
,to-audio-files-ac
- Added dummy sink for audio files:
to-void-ac
- Added ISP for selecting a sub-sample from the stream:
sample
Release v0.1.7
- Added
discard-invalid-images
ISP for removing corrupt images or annotations with no image attached. - Added
batch-split
sub-command for splitting individual batches of annotations into subsets like train/test/val. Supports grouping of files within batches (eg multiple images of the same object). - Added
filter-metadata
ISP for filtering object detection. - Restricted maximum characters per line in help output to 100 to avoid long help strings to become unreadable.
- The
polygon-discarder
now annotations that either have no polygon or invalid polygons. - Added descriptions to the help screens of the main commands.
- The
ImageSegmentationAnnotation
class now outputs the unique values in its exception when there are more unique values than labels - The
Data
class (module:wai.annotations.core.domain
) now outputs a warning message if a file cannot be read; also addedLoggingEnabled
mixin.
Release v0.1.6
- Image segmentation annotations received new
label_images
property that returns images per label (as a dictionary); moved from the ToLayerSegments conversion (wai.annotations.layersegments)
Release v0.1.5
- Added dataset readers that generate dummy datasets from images:
from-images-ic
,from-images-is
,from-images-od
- Added dataset writers that just output the images from datasets:
to-images-ic
,to-images-is
,to-images-od
wai.annotations.core v0.1.4
0.1.4 (2021-11-11)
- Added ISP for discarding polygons that either have too few or too many points (
polygon-discarder
) - Added
--verbose
flag todimension-discarder
ISP for outputting information when an annotation
gets discarded.
wai.annotations.core v0.1.3
0.1.3 (2021-06-22)
- Added cross-domain converter which reduces object-detection datasets to image classification
by looking for single/majority objects/labels.
wai.annotations.core v0.1.2
0.1.2 (2021-06-01)
- Added void output formats for each domain which discard the conversion results.
- Added option to LocalFilenameSource which tells it to write the files it reads to a list-file.