Skip to content

SolvePnPMethod

geometryclassOpenCV 5.0.0
import { SolvePnPMethod } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSSolvePnPMethod
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Native enum entries for solve pn pmethod. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static SOLVEPNP_ITERATIVE

Pose refinement using non-linear Levenberg-Marquardt minimization scheme [Madsen04] [Eade13] \n

SOLVEPNP_ITERATIVE: SolvePnPMethodValue<0>,

static SOLVEPNP_EPNP

EPnP: Efficient Perspective-n-Point Camera Pose Estimation [lepetit2009epnp]

SOLVEPNP_EPNP: SolvePnPMethodValue<1>,

static SOLVEPNP_P3P

Revisiting the P3P Problem [ding2023revisiting]

SOLVEPNP_P3P: SolvePnPMethodValue<2>,

static SOLVEPNP_AP3P

An Efficient Algebraic Solution to the Perspective-Three-Point Problem [Ke17]

SOLVEPNP_AP3P: SolvePnPMethodValue<3>,

static SOLVEPNP_IPPE

Infinitesimal Plane-Based Pose Estimation [Collins14] \n

SOLVEPNP_IPPE: SolvePnPMethodValue<4>,

static SOLVEPNP_IPPE_SQUARE

Infinitesimal Plane-Based Pose Estimation [Collins14] \n

SOLVEPNP_IPPE_SQUARE: SolvePnPMethodValue<5>,

static SOLVEPNP_SQPNP

SQPnP: A Consistently Fast and Globally OptimalSolution to the Perspective-n-Point Problem [Terzakis2020SQPnP]

SOLVEPNP_SQPNP: SolvePnPMethodValue<6>,

static SOLVEPNP_MAX_COUNT

SolvePnPMethod.SOLVEPNP_MAX_COUNT: Used for count

SOLVEPNP_MAX_COUNT: SolvePnPMethodValue<7>

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.