public class KeypointsModel extends Model
| Constructor and Description |
|---|
KeypointsModel(Net network)
Create model from deep learning network.
|
KeypointsModel(java.lang.String model)
Create keypoints model from network represented in one of the supported formats.
|
KeypointsModel(java.lang.String model,
java.lang.String config)
Create keypoints model from network represented in one of the supported formats.
|
| Modifier and Type | Method and Description |
|---|---|
static KeypointsModel |
__fromPtr__(long addr) |
MatOfPoint2f |
estimate(Mat frame)
Given the
input frame, create input blob, run net |
MatOfPoint2f |
estimate(Mat frame,
float thresh)
Given the
input frame, create input blob, run net |
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, readFromModelOptimizer, setHalideScheduler, setInput, setInput, setInput, setInput, setInputShape, setInputsNames, setParam, setPreferableBackend, setPreferableTargetpublic KeypointsModel(Net network)
network - Net object.public KeypointsModel(java.lang.String model)
model and config arguments does not matter.model - Binary file contains trained weights.public KeypointsModel(java.lang.String model,
java.lang.String config)
model and config arguments does not matter.model - Binary file contains trained weights.config - Text file contains network configuration.public static KeypointsModel __fromPtr__(long addr)
public MatOfPoint2f estimate(Mat frame)
input frame, create input blob, run netframe - automatically generatedpublic MatOfPoint2f estimate(Mat frame, float thresh)
input frame, create input blob, run netthresh - minimum confidence threshold to select a keypointframe - automatically generatedGenerated on 2020-04-03 16:05:20 / OpenCV 4.3.0