Skip to content

face_BIF_create

facefunctionOpenCV 5.0.0
import { face_BIF_create } from '@banou/opencv-wasm'

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

ARGUMENTSnum_bands, num_rotations
FUNCTIONface_BIF_create
RETURN TYPEface_BIF | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create an owned face_BIF instance with the supplied configuration.

Implementation of bio-inspired features (BIF) from the paper: Guo, Guodong, et al. "Human age estimation using bio-inspired features." Computer Vision and Pattern Recognition, 2009. CVPR 2009.

face_BIF_create(num_bands: number, num_rotations: number): face_BIF | null;
3 available overloads
face_BIF_create(): face_BIF | null;
face_BIF_create(num_bands: number): face_BIF | null;
face_BIF_create(num_bands: number, num_rotations: number): face_BIF | null;
num_bands

The number of filter bands (<=8) used for computing BIF.

num_rotations

The number of image rotations for computing BIF.

Returns

Object for computing BIF.

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.