public class ClassificationModel extends Model
| Modifier | Constructor and Description |
|---|---|
protected |
ClassificationModel(long addr) |
|
ClassificationModel(Net network)
Create model from deep learning network.
|
|
ClassificationModel(String model)
Create classification model from network represented in one of the supported formats.
|
|
ClassificationModel(String model,
String config)
Create classification model from network represented in one of the supported formats.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassificationModel |
__fromPtr__(long addr) |
void |
classify(Mat frame,
int[] classId,
float[] conf) |
protected void |
finalize() |
predict, setInputCrop, setInputMean, setInputParams, setInputParams, setInputParams, setInputParams, setInputParams, setInputParams, setInputScale, setInputSize, setInputSize, setInputSwapRBconnect, dump, dumpToFile, empty, enableFusion, forward, forward, forward, forward, forward, getFLOPS, getFLOPS, getFLOPS, getFLOPS, getLayer, getLayerId, getLayerNames, getLayersCount, getLayerTypes, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getNativeObjAddr, getParam, getParam, getPerfProfile, getUnconnectedOutLayers, getUnconnectedOutLayersNames, readFromModelOptimizer, setHalideScheduler, setInput, setInput, setInput, setInput, setInputsNames, setParam, setPreferableBackend, setPreferableTargetprotected ClassificationModel(long addr)
public ClassificationModel(Net network)
network - Net object.public ClassificationModel(String model, String config)
model and config arguments does not matter.model - Binary file contains trained weights.config - Text file contains network configuration.public ClassificationModel(String model)
model and config arguments does not matter.model - Binary file contains trained weights.Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2