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 TypeMethodDescriptionstatic 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. -
Uses of TextOrientation in com.itextpdf.pdfocr.onnx.orientation
Methods in com.itextpdf.pdfocr.onnx.orientation that return TextOrientationModifier and TypeMethodDescriptionDefaultOrientationMapper.map(int index) Returns value, which is mapped to the specified index.Methods in com.itextpdf.pdfocr.onnx.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.onnx.orientation with type arguments of type TextOrientationModifierConstructorDescriptionOnnxOrientationPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IOutputLabelMapper<TextOrientation> outputMapper) Creates new crop orientation predictor properties.OnnxOrientationPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IOutputLabelMapper<TextOrientation> outputMapper, IOrtSessionOptionsCreator ortSessionOptionsCreator) Creates new crop orientation predictor properties. -
Uses of TextOrientation in com.itextpdf.pdfocr.onnx.util
Methods in com.itextpdf.pdfocr.onnx.util with parameters of type TextOrientationModifier and TypeMethodDescriptionstatic BufferedImageBufferedImageUtil.rotate(BufferedImage image, TextOrientation orientation) Rotates image based on text orientation.