public class NNExampleModelDetector extends TrainedModelDetector
Constructor and Description |
---|
NNExampleModelDetector() |
NNExampleModelDetector(File modelFile) |
NNExampleModelDetector(Path 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, loadDefaultModels, readByteFrequencies, registerModels
public NNExampleModelDetector()
public NNExampleModelDetector(Path modelFile)
public NNExampleModelDetector(File modelFile)
public void loadDefaultModels(InputStream modelStream)
loadDefaultModels
in class TrainedModelDetector
public void loadDefaultModels(ClassLoader classLoader)
loadDefaultModels
in class TrainedModelDetector
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.