Package com.mindee.v2.product.crop
Class CropResult
- java.lang.Object
-
- com.mindee.v2.product.crop.CropResult
-
public final class CropResult extends Object
Result of a crop utility inference.
-
-
Constructor Summary
Constructors Constructor Description CropResult()CropResult(ArrayList<CropItem> crops)Creates a newCropResultinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExtractedImagesextractFromInputSource(LocalInputSource inputSource)Based on the crop results, extract the documents into individual files as anExtractedImagesinstance.ArrayList<CropItem>getCrops()List of objects and their cropping coordinates identified in the source document.inthashCode()StringtoString()
-
-
-
Method Detail
-
extractFromInputSource
public ExtractedImages extractFromInputSource(LocalInputSource inputSource) throws IOException
Based on the crop results, extract the documents into individual files as anExtractedImagesinstance.- Throws:
IOException
-
getCrops
public ArrayList<CropItem> getCrops()
List of objects and their cropping coordinates identified in the source document.
-
-