Class RecResizeImg
java.lang.Object
com.itextpdf.pdfocr.onnx.conf.paddle.model.RecResizeImg
- All Implemented Interfaces:
-
TransformOp
POJO for the RecResizeImg transform operation within a
PreProcess object in a config file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringExpected wrapping key for the RecResizeImg operation. -
Constructor Summary
ConstructorsConstructorDescriptionRecResizeImg(int[] imageShape) Creates a new POJO for the config file object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanint[]Returns the values under theimage_shapekey.Returns the wrapping key for the transform operation object.inthashCode()
-
Field Details
-
WRAPPING_KEY
Expected wrapping key for the RecResizeImg operation.- See Also:
-
-
Constructor Details
-
RecResizeImg
public RecResizeImg(int[] imageShape) Creates a new POJO for the config file object.- Parameters:
-
imageShape- values under theimage_shapekey
-
-
Method Details
-
getWrappingKey
Returns the wrapping key for the transform operation object.- Specified by:
-
getWrappingKeyin interfaceTransformOp - Returns:
- the wrapping key
-
getImageShape
public int[] getImageShape()Returns the values under theimage_shapekey.- Returns:
-
the values under the
image_shapekey
-
equals
-
hashCode
public int hashCode()
-