Class OnnxOrientationPredictor

java.lang.Object
com.itextpdf.pdfocr.onnxtr.AbstractOnnxPredictor<BufferedImage, TextOrientation>
com.itextpdf.pdfocr.onnxtr.orientation.OnnxOrientationPredictor
All Implemented Interfaces:
IPredictor<BufferedImage,TextOrientation>, IOrientationPredictor, AutoCloseable

public class OnnxOrientationPredictor extends AbstractOnnxPredictor<BufferedImage,TextOrientation> implements IOrientationPredictor
A crop orientation predictor implementation, which is using ONNX Runtime and its ML models to figure out, how text is oriented in a cropped image of text.