Uses of Class
com.itextpdf.pdfocr.onnxtr.OnnxInputProperties
Packages that use OnnxInputProperties
Package
Description
-
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnxtr
Constructors in com.itextpdf.pdfocr.onnxtr with parameters of type OnnxInputPropertiesModifierConstructorDescriptionprotected
AbstractOnnxPredictor
(String modelPath, OnnxInputProperties inputProperties, long[] outputShape) Creates a new abstract predictor. -
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnxtr.detection
Methods in com.itextpdf.pdfocr.onnxtr.detection that return OnnxInputPropertiesModifier and TypeMethodDescriptionOnnxDetectionPredictorProperties.getInputProperties()
Returns the ONNX model input properties.Constructors in com.itextpdf.pdfocr.onnxtr.detection with parameters of type OnnxInputPropertiesModifierConstructorDescriptionOnnxDetectionPredictorProperties
(String modelPath, OnnxInputProperties inputProperties, IDetectionPostProcessor postProcessor) Creates new text detection predictor properties. -
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnxtr.orientation
Methods in com.itextpdf.pdfocr.onnxtr.orientation that return OnnxInputPropertiesModifier and TypeMethodDescriptionOnnxOrientationPredictorProperties.getInputProperties()
Returns the ONNX model input properties.Constructors in com.itextpdf.pdfocr.onnxtr.orientation with parameters of type OnnxInputPropertiesModifierConstructorDescriptionOnnxOrientationPredictorProperties
(String modelPath, OnnxInputProperties inputProperties, IOutputLabelMapper<TextOrientation> outputMapper) Creates new crop orientation predictor properties. -
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnxtr.recognition
Methods in com.itextpdf.pdfocr.onnxtr.recognition that return OnnxInputPropertiesModifier and TypeMethodDescriptionOnnxRecognitionPredictorProperties.getInputProperties()
Returns the ONNX model input properties.Constructors in com.itextpdf.pdfocr.onnxtr.recognition with parameters of type OnnxInputPropertiesModifierConstructorDescriptionOnnxRecognitionPredictorProperties
(String modelPath, OnnxInputProperties inputProperties, IRecognitionPostProcessor postProcessor) Creates new text recognition predictor properties. -
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnxtr.util
Methods in com.itextpdf.pdfocr.onnxtr.util with parameters of type OnnxInputPropertiesModifier and TypeMethodDescriptionstatic FloatBufferMdArray
BufferedImageUtil.toBchwInput
(Collection<BufferedImage> images, OnnxInputProperties properties) Converts a collection of images to a batched ML model input in a BCHW format with 3 channels.