Package com.itextpdf.pdfocr.onnxtr
Interface IOutputLabelMapper
- Type Parameters:
-
T
- output type
- All Known Implementing Classes:
-
DefaultOrientationMapper
public interface IOutputLabelMapper
Interface for mapping an integer index (continuous from 0) to output values.
-
Method Summary
-
Method Details
-
size
int size()Returns a number of mappable values.- Returns:
- a number of mappable values
-
map
Returns value, which is mapped to the specified index.- Parameters:
-
index
- index to map - Returns:
- mapped output value
-