Module brevettiai.data.image

Image tools for handling image pipelines, augmentation and for loading annotations

Expand source code
"""
Image tools for handling image pipelines, augmentation and for loading annotations
"""
from .image_processor import ImageProcessor


class ImageKeys:
    BOUNDING_BOX = "bbox"
    ZOOM = "zoom_factor"
    SIZE = "size"
    SEQUENCE_RANGE = "sequence_range"
    INSIDE_POINTS = "inside_points"
    BBOX_SIZE_ADJUST = "bbox_size_adjust"
    ANNOTATION = "segmentation_path"


try:
    from .image_loader import ImageLoader, BcimgSequenceLoader, CropResizeProcessor
    from .annotation_loader import AnnotationLoader
    from .image_pipeline import ImagePipeline
    from .segmentation_loader import SegmentationLoader
    from .image_augmenter import ImageAugmenter
except Exception:
    pass

Sub-modules

brevettiai.data.image.annotation
brevettiai.data.image.annotation_loader
brevettiai.data.image.annotation_parser
brevettiai.data.image.annotation_pooling
brevettiai.data.image.bayer_demosaic
brevettiai.data.image.feature_calculator
brevettiai.data.image.image_augmenter
brevettiai.data.image.image_loader
brevettiai.data.image.image_pipeline
brevettiai.data.image.image_processor
brevettiai.data.image.multi_frame_imager
brevettiai.data.image.segmentation_loader
brevettiai.data.image.utils

Classes

class ImageKeys
Expand source code
class ImageKeys:
    BOUNDING_BOX = "bbox"
    ZOOM = "zoom_factor"
    SIZE = "size"
    SEQUENCE_RANGE = "sequence_range"
    INSIDE_POINTS = "inside_points"
    BBOX_SIZE_ADJUST = "bbox_size_adjust"
    ANNOTATION = "segmentation_path"

Class variables

var ANNOTATION
var BBOX_SIZE_ADJUST
var BOUNDING_BOX
var INSIDE_POINTS
var SEQUENCE_RANGE
var SIZE
var ZOOM