Uses of Class
com.itextpdf.pdfocr.onnx.OnnxInputProperties
Packages that use OnnxInputProperties
Package
Description
-
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnx
Fields in com.itextpdf.pdfocr.onnx declared as OnnxInputPropertiesModifier and TypeFieldDescriptionprotected final OnnxInputPropertiesAbstractOnnxPredictorProperties.inputPropertiesProperties of the inputs of the ONNX model.Methods in com.itextpdf.pdfocr.onnx that return OnnxInputPropertiesModifier and TypeMethodDescriptionAbstractOnnxPredictorProperties.getInputProperties()Returns the ONNX model input properties.Constructors in com.itextpdf.pdfocr.onnx with parameters of type OnnxInputPropertiesModifierConstructorDescriptionAbstractOnnxPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IOrtSessionOptionsCreator ortSessionOptionsCreator) Creates new predictor properties. -
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnx.detection
Constructors in com.itextpdf.pdfocr.onnx.detection with parameters of type OnnxInputPropertiesModifierConstructorDescriptionOnnxDetectionPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IDetectionPostProcessor postProcessor) Creates new text detection predictor properties.OnnxDetectionPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IDetectionPostProcessor postProcessor, IOrtSessionOptionsCreator ortSessionOptionsCreator) Creates new text detection predictor properties. -
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnx.orientation
Constructors in com.itextpdf.pdfocr.onnx.orientation with parameters of type OnnxInputPropertiesModifierConstructorDescriptionOnnxOrientationPredictorProperties(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 OnnxInputProperties in com.itextpdf.pdfocr.onnx.recognition
Constructors in com.itextpdf.pdfocr.onnx.recognition with parameters of type OnnxInputPropertiesModifierConstructorDescriptionOnnxRecognitionPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IRecognitionPostProcessor postProcessor) Creates new text recognition predictor properties.OnnxRecognitionPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IRecognitionPostProcessor postProcessor, boolean splitImages) Creates new text recognition predictor properties.OnnxRecognitionPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IRecognitionPostProcessor postProcessor, boolean splitImages, IOrtSessionOptionsCreator ortSessionOptionsCreator) Creates new text recognition predictor properties.OnnxRecognitionPredictorProperties(String modelPath, OnnxInputProperties inputProperties, IRecognitionPostProcessor postProcessor, IOrtSessionOptionsCreator ortSessionOptionsCreator) Creates new text recognition predictor properties. -
Uses of OnnxInputProperties in com.itextpdf.pdfocr.onnx.util
Methods in com.itextpdf.pdfocr.onnx.util with parameters of type OnnxInputPropertiesModifier and TypeMethodDescriptionstatic FloatBufferMdArrayBufferedImageUtil.toBchwInput(Collection<BufferedImage> images, OnnxInputProperties properties) Converts a collection of images to a batched ML model input in a BCHW format with 1 or 3 channels.