Class NormalizeImage
java.lang.Object
com.itextpdf.pdfocr.onnx.conf.paddle.model.NormalizeImage
- All Implemented Interfaces:
-
TransformOp
POJO for the NormalizeImage transform operation within a
PreProcess object in a config file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringExpected wrapping key for the NormalizeImage operation. -
Constructor Summary
ConstructorsConstructorDescriptionNormalizeImage(float[] mean, float[] std) Creates a new POJO for the config file object. -
Method Summary
-
Field Details
-
WRAPPING_KEY
Expected wrapping key for the NormalizeImage operation.- See Also:
-
-
Constructor Details
-
NormalizeImage
public NormalizeImage(float[] mean, float[] std) Creates a new POJO for the config file object.- Parameters:
-
mean- values under themeankey -
std- values under thestdkey
-
-
Method Details
-
getWrappingKey
Returns the wrapping key for the transform operation object.- Specified by:
-
getWrappingKeyin interfaceTransformOp - Returns:
- the wrapping key
-
getMean
public float[] getMean()Returns the values under themeankey.- Returns:
-
the values under the
meankey
-
getStd
public float[] getStd()Returns the values under thestdkey.- Returns:
-
the values under the
stdkey
-
equals
-
hashCode
public int hashCode()
-