Class CropItem


  • public class CropItem
    extends Object
    Result of a cropped document region.
    • Constructor Detail

      • CropItem

        public CropItem​(String objectType,
                        FieldLocation location,
                        ExtractionResponse extractionResponse)
        Creates a new CropItem instance.
        Parameters:
        objectType - Type or classification of the detected object.
        location - Location which includes cropping coordinates for the detected object, within the source document.
        extractionResponse - The extraction response associated with the crop.
      • CropItem

        public CropItem()
    • Method Detail

      • getObjectType

        public String getObjectType()
        Type or classification of the detected object.
      • getLocation

        public FieldLocation getLocation()
        Location which includes cropping coordinates for the detected object, within the source document.
      • getExtractionResponse

        public ExtractionResponse getExtractionResponse()
        The extraction response associated with the crop.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object