rapid_rapid
import { rapid_rapid } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
High level function to execute a single rapid [harris1990rapid] iteration
extractControlPointsextractLineBundlefindCorrespondenciesconvertCorrespondenciessolvePnPRefineLM
rapid_rapid(img: Mat, num: number, len: number, pts3d: Mat, tris: Mat, K: Mat, rvec: Mat, tvec: Mat): rapid_rapidResult;imgthe video frame
numnumber of search lines
lensearch line radius
pts3dthe 3D points of the mesh
tristriangle face connectivity
Kcamera matrix
rvecInput/output value, modified by the native operation. rotation between mesh and camera. Input values are used as an initial solution.
tvecInput/output value, modified by the native operation. translation between mesh and camera. Input values are used as an initial solution.
ratio of search lines that could be extracted and matched Scalar output parameters are returned as named fields in this object. Release returned native handles with using or delete(), including handles nested in results.
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.