Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
cv::face::BIF Class Referenceabstract
#include <opencv2/face/bif.hpp>
Collaboration diagram for cv::face::BIF:
Detailed Description
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.
Member Function Documentation
compute()
Python: cv.face.BIF.compute( image[, features] ) -> features
Computes features sby input image.
Parameters
image Input image (CV_32FC1). features Feature vector (CV_32FC1).
create()
static Ptr < BIF > cv::face::BIF::create ( int num_bands = 8 , int num_rotations = 12 )
static
Python: cv.face.BIF.create( [, num_bands[, num_rotations]] ) -> retval cv.face.BIF_create( [, num_bands[, num_rotations]] ) -> retval
Parameters
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 .
getNumBands()
virtual int cv::face::BIF::getNumBands ( ) const
pure virtual
Python: cv.face.BIF.getNumBands( ) -> retval
Returns The number of filter bands used for computing BIF .
getNumRotations()
virtual int cv::face::BIF::getNumRotations ( ) const
pure virtual
Python: cv.face.BIF.getNumRotations( ) -> retval
Returns The number of image rotations.
The documentation for this class was generated from the following file: