detail_Estimator
import { detail_Estimator } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Rotation estimator base class.
It takes features of all images, pairwise matches between all images and estimates rotations of all cameras.
Note: The coordinate system origin is implementation-dependent, but you can always normalize the rotations in respect to the first camera, for instance. :
Constructors and members
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
apply
Estimates camera parameters.
apply(features: detail__ImageFeaturesVector, pairwise_matches: detail__MatchesInfoVector, cameras: detail__CameraParamsVector): boolean;featuresFeatures of images
pairwise_matchesPairwise matches of images
camerasInput/output value, modified by the native operation. Estimated camera parameters
True in case of success, false otherwise
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.