Uses of Enum
com.itextpdf.pdfocr.TextOrientation
Packages that use TextOrientation
Package
Description
-
Uses of TextOrientation in com.itextpdf.pdfocr
Methods in com.itextpdf.pdfocr that return TextOrientationModifier and TypeMethodDescriptionTextInfo.getOrientation()
Gets the text orientation.static TextOrientation
Returns the enum constant of this type with the specified name.static TextOrientation[]
TextOrientation.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.itextpdf.pdfocr with parameters of type TextOrientationModifier and TypeMethodDescriptionvoid
TextInfo.setOrientation
(TextOrientation orientation) Sets the text orientation.Constructors in com.itextpdf.pdfocr with parameters of type TextOrientationModifierConstructorDescriptionTextInfo
(String text, com.itextpdf.kernel.geom.Rectangle bbox, TextOrientation orientation) Creates a newTextInfo
instance. -
Uses of TextOrientation in com.itextpdf.pdfocr.onnxtr.orientation
Methods in com.itextpdf.pdfocr.onnxtr.orientation that return TextOrientationModifier and TypeMethodDescriptionDefaultOrientationMapper.map
(int index) Returns value, which is mapped to the specified index.Methods in com.itextpdf.pdfocr.onnxtr.orientation that return types with arguments of type TextOrientationModifier and TypeMethodDescriptionprotected List<TextOrientation>
OnnxOrientationPredictor.fromOutputBuffer
(List<BufferedImage> inputBatch, FloatBufferMdArray outputBatch) Converts ONNX runtime model batched output MD-array buffer to a list of predictor outputs.OnnxOrientationPredictorProperties.getOutputMapper()
Returns the ONNX model output mapper.Constructor parameters in com.itextpdf.pdfocr.onnxtr.orientation with type arguments of type TextOrientationModifierConstructorDescriptionOnnxOrientationPredictorProperties
(String modelPath, OnnxInputProperties inputProperties, IOutputLabelMapper<TextOrientation> outputMapper) Creates new crop orientation predictor properties. -
Uses of TextOrientation in com.itextpdf.pdfocr.onnxtr.util
Methods in com.itextpdf.pdfocr.onnxtr.util with parameters of type TextOrientationModifier and TypeMethodDescriptionstatic BufferedImage
BufferedImageUtil.rotate
(BufferedImage image, TextOrientation orientation) Rotates image based on text orientation.