Table of Contents

Class KeypointsModel

Namespace
Emgu.CV.Dnn
Assembly
Emgu.CV.dll

This class represents high-level API for keypoints models.

public class KeypointsModel : Model, IDisposable
Inheritance
KeypointsModel
Implements
Inherited Members

Constructors

KeypointsModel(Net)

Create model from deep learning network.

public KeypointsModel(Net net)

Parameters

net Net

DNN Network

KeypointsModel(string, string)

Create a new keypoints model

public KeypointsModel(string model, string config = null)

Parameters

model string

Binary file contains trained weights.

config string

Text file contains network configuration.

Methods

DisposeObject()

Release the memory associated with this keypoints model.

protected override void DisposeObject()

Estimate(IInputArray, float)

Given the input frame, create input blob, run net.

public PointF[] Estimate(IInputArray frame, float thresh = 0.5)

Parameters

frame IInputArray

The input image.

thresh float

minimum confidence threshold to select a keypoint

Returns

PointF[]

A vector holding the x and y coordinates of each detected keypoint