@Namespace(value="cv::dnn") @Properties(inherit=opencv_dnn.class) public class KeypointsModel extends Model
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
KeypointsModel(BytePointer model) |
KeypointsModel(BytePointer model,
BytePointer config)
\brief Create keypoints model from network represented in one of the supported formats.
|
KeypointsModel(Net network)
\brief Create model from deep learning network.
|
KeypointsModel(Pointer p)
Pointer cast constructor.
|
KeypointsModel(String model) |
KeypointsModel(String model,
String config) |
Modifier and Type | Method and Description |
---|---|
Point2fVector |
estimate(GpuMat frame) |
Point2fVector |
estimate(GpuMat frame,
float thresh) |
Point2fVector |
estimate(Mat frame) |
Point2fVector |
estimate(Mat frame,
float thresh)
\brief Given the \p input frame, create input blob, run net
|
Point2fVector |
estimate(UMat frame) |
Point2fVector |
estimate(UMat frame,
float thresh) |
position, predict, predict, predict, predict, predict, predict, predict, predict, predict, setInputCrop, setInputMean, setInputParams, setInputParams, setInputScale, setInputSize, setInputSize, setInputSwapRB
addLayer, addLayer, addLayerToPrev, addLayerToPrev, connect, connect, connect, dump, dumpToFile, dumpToFile, empty, enableFusion, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forwardAndRetrieve, forwardAsync, forwardAsync, forwardAsync, getFLOPS, getFLOPS, getFLOPS, getFLOPS, getLayer, getLayerId, getLayerId, getLayerNames, getLayersCount, getLayersCount, getLayerShapes, getLayerShapes, getLayersShapes, getLayersShapes, getLayersShapes, getLayersShapes, getLayersShapes, getLayersShapes, getLayerTypes, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getMemoryConsumption, getParam, getParam, getPerfProfile, getPerfProfile, getPerfProfile, getUnconnectedOutLayers, getUnconnectedOutLayersNames, readFromModelOptimizer, readFromModelOptimizer, readFromModelOptimizer, readFromModelOptimizer, readFromModelOptimizer, readFromModelOptimizer, readFromModelOptimizer, setHalideScheduler, setHalideScheduler, setInput, setInput, setInput, setInput, setInput, setInput, setInput, setInput, setInput, setInputShape, setInputShape, setInputsNames, setParam, setPreferableBackend, setPreferableTarget
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public KeypointsModel(Pointer p)
Pointer.Pointer(Pointer)
.public KeypointsModel(@opencv_core.Str BytePointer model, @opencv_core.Str BytePointer config)
model
- [in] Binary file contains trained weights.config
- [in] Text file contains network configuration.public KeypointsModel(@opencv_core.Str BytePointer model)
public KeypointsModel(@opencv_core.Str String model, @opencv_core.Str String config)
public KeypointsModel(@opencv_core.Str String model)
@ByVal public Point2fVector estimate(@ByVal Mat frame, float thresh)
frame
- [in] The input image.thresh
- minimum confidence threshold to select a keypoint@ByVal public Point2fVector estimate(@ByVal Mat frame)
@ByVal public Point2fVector estimate(@ByVal UMat frame, float thresh)
@ByVal public Point2fVector estimate(@ByVal UMat frame)
@ByVal public Point2fVector estimate(@ByVal GpuMat frame, float thresh)
@ByVal public Point2fVector estimate(@ByVal GpuMat frame)
Copyright © 2020. All rights reserved.