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.
|
isAsciiMode
public BaseExtractorOptions()
public LocalFeatureMode.LocalFeatureModeOp getMode()
public byte[] getInputImage(String input) throws IOException
input
- the input locationIOException
public byte[] getInputImage(File file) throws IOException
file
- the input locationIOException
public boolean printTiming()
public void serialiseExtractor() throws IOException
IOException