@Namespace(value="cv::dnn") @Properties(inherit=opencv_dnn.class) public class KeypointsModel extends Model
Model.ImplPointer.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) |
asNet, getImpl, getImplRef, getNetwork_, getPointer, position, predict, predict, predict, predict, predict, predict, predict, predict, predict, put, setInputCrop, setInputMean, setInputParams, setInputParams, setInputScale, setInputSize, setInputSize, setInputSwapRB, setPreferableBackend, setPreferableTargetaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic KeypointsModel(Pointer p)
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 © 2022. All rights reserved.