Struct opencv::dnn::KeypointsModel[][src]

pub struct KeypointsModel { /* fields omitted */ }
Expand description

This class represents high-level API for keypoints models

KeypointsModel allows to set params for preprocessing input image. KeypointsModel creates net from file with trained weights and config, sets preprocessing input, runs forward pass and returns the x and y coordinates of each detected keypoint

Implementations

Create keypoints model from network represented in one of the supported formats. An order of @p model and @p config arguments does not matter.

Parameters
  • model: Binary file contains trained weights.
  • config: Text file contains network configuration.
C++ default parameters
  • config: “”

Create model from deep learning network.

Parameters
  • network: Net object.

Trait Implementations

Wrap the specified raw pointer Read more

Return an the underlying raw pointer while consuming this wrapper. Read more

Return the underlying raw pointer. Read more

Return the underlying mutable raw pointer Read more

Executes the destructor for this type. Read more

Performs the conversion.

Given the @p input frame, create input blob, run net Read more

Set input size for frame. Read more

Set input size for frame. Read more

Set mean value for frame. Read more

Set scalefactor value for frame. Read more

Set flag crop for frame. Read more

Set flag swapRB for frame. Read more

Set preprocessing parameters for frame. Read more

See also Read more

See also Read more

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.