dgs.utils.image.CustomCropResize¶
- class dgs.utils.image.CustomCropResize(*args: Any, **kwargs: Any)[source]¶
Extract all bounding boxes of a single torch tensor image as new image crops then resize the result to the given output shape, which makes the results stackable again. Additionally, the coordinates will be transformed to use the local coordinate system.