public class NNExampleModelDetector extends TrainedModelDetector
Constructor and Description |
---|
NNExampleModelDetector() |
NNExampleModelDetector(File modelFile) |
Modifier and Type | Method and Description |
---|---|
void |
loadDefaultModels(ClassLoader classLoader)
this method gets overwritten to register load neural network models
|
void |
loadDefaultModels(InputStream modelStream) |
detect, getMinLength, loadDefaultModels, readByteFrequencies, registerModels
public NNExampleModelDetector()
public NNExampleModelDetector(File modelFile)
public void loadDefaultModels(InputStream modelStream)
loadDefaultModels
in class TrainedModelDetector
public void loadDefaultModels(ClassLoader classLoader)
loadDefaultModels
in class TrainedModelDetector
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.