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 TextOrientationReturns 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 TypeMethodDescriptionvoidTextInfo.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 newTextInfoinstance. -
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 BufferedImageBufferedImageUtil.rotate(BufferedImage image, TextOrientation orientation) Rotates image based on text orientation.