Package com.itextpdf.pdfocr.onnxtr
Interface IPredictorR>
- Type Parameters:
-
T
- input type -
R
- output type
- All Superinterfaces:
-
AutoCloseable
- All Known Subinterfaces:
-
IDetectionPredictor
,IOrientationPredictor
,IRecognitionPredictor
- All Known Implementing Classes:
-
AbstractOnnxPredictor
,OnnxDetectionPredictor
,OnnxOrientationPredictor
,OnnxRecognitionPredictor
Interface of a generic predictor. It takes a stream of inputs and returns a same-sizes stream of outputs.
-
Method Summary
Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
predict
-
predict
Performs prediction on a sequence of input items provided as anIterable
.
-