Package com.mindee.v2.product.crop
Class CropItem
- java.lang.Object
-
- com.mindee.v2.product.crop.CropItem
-
public class CropItem extends Object
Result of a cropped document region.
-
-
Constructor Summary
Constructors Constructor Description CropItem()CropItem(String objectType, FieldLocation location, ExtractionResponse extractionResponse)Creates a newCropIteminstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ExtractionResponsegetExtractionResponse()The extraction response associated with the crop.FieldLocationgetLocation()Location which includes cropping coordinates for the detected object, within the source document.StringgetObjectType()Type or classification of the detected object.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
CropItem
public CropItem(String objectType, FieldLocation location, ExtractionResponse extractionResponse)
Creates a newCropIteminstance.- 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)
-
-