Skip to content

detail_focalsFromHomography

stitchingfunctionOpenCV 5.0.0
import { detail_focalsFromHomography } from '@banou/opencv-wasm'

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

ARGUMENTSH
FUNCTIONdetail_focalsFromHomography
RETURN TYPEdetail_focalsFromHomographyResult
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Tries to estimate focal lengths from the given homography under the assumption that the camera undergoes rotations around its centre only.

detail_focalsFromHomography(H: Mat): detail_focalsFromHomographyResult;
H

Homography.

Returns

The detail_focalsFromHomographyResult result. 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.