nvidia.dali.fn.experimental.decoders.image_crop#

nvidia.dali.fn.experimental.decoders.image_crop(
input,
/,
*,
device=None,
name=None,
adjust_orientation=True,
affine=True,
bytes_per_sample_hint=[0],
crop=None,
crop_d=0.0,
crop_h=0.0,
crop_pos_x=0.5,
crop_pos_y=0.5,
crop_pos_z=0.5,
crop_w=0.0,
device_memory_padding=16777216,
device_memory_padding_jpeg2k=0,
dtype=DALIDataType.UINT8,
host_memory_padding=8388608,
host_memory_padding_jpeg2k=0,
hw_decoder_load=0.65,
hybrid_huffman_threshold=1000000,
jpeg_fancy_upsampling=False,
output_type=DALIImageType.RGB,
preallocate_height_hint=0,
preallocate_width_hint=0,
preserve=False,
rounding='round',
use_fast_idct=False,
)#

Warning

This operator is now deprecated. Use decoders.image_crop() instead.

Experimental features of the decoders have been moved to the main decoders module, this is just an alias maintained for backward compatibility.

Alias for decoders.image_crop().