public class BaseExtractorOptions extends SharedOptions
| Constructor and Description |
|---|
BaseExtractorOptions() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getInputImage(File file)
Read the input image as bytes
|
byte[] |
getInputImage(String input)
Read the input image as bytes
|
LocalFeatureMode.LocalFeatureModeOp |
getMode() |
boolean |
printTiming() |
void |
serialiseExtractor()
Serialise the feature extractor to a file so it can be reused by other
tools or code.
|
isAsciiModepublic BaseExtractorOptions()
public LocalFeatureMode.LocalFeatureModeOp getMode()
public byte[] getInputImage(String input) throws IOException
input - the input locationIOExceptionpublic byte[] getInputImage(File file) throws IOException
file - the input locationIOExceptionpublic boolean printTiming()
public void serialiseExtractor() throws IOException
IOException