mp.tasks.vision.holistic_landmarker.image_processing_options_module.ImageProcessingOptions

Options for image processing.

If both region-of-interest and rotation are specified, the crop around the region-of-interest is extracted first, then the specified rotation is applied to the crop.

region_of_interest The optional region-of-interest to crop from the image. If not specified, the full image is used. Coordinates must be in [0,1] with 'left' < 'right' and 'top' < 'bottom'.
rotation_degrees The rotation to apply to the image (or cropped region-of-interest), in degrees clockwise. The rotation must be a multiple (positive or negative) of 90°.

Methods

__eq__

region_of_interest None
rotation_degrees 0