#include "Image/OpenCVUtil.H"
#include "Component/ModelManager.H"
#include "Image/Image.H"
#include "Image/Transforms.H"
#include "Image/DrawOps.H"
#include "Image/Rectangle.H"
#include "Image/MathOps.H"
#include "Media/FrameSeries.H"
#include "Transport/FrameInfo.H"
#include "Raster/GenericFrame.H"
#include "Raster/Raster.H"
#include "GUI/DebugWin.H"
#include "Neuro/BeoHeadBrain.H"
#include "Util/Timer.H"
#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | CvHidHaarFeature |
struct | CvHidHaarTreeNode |
struct | CvHidHaarClassifier |
struct | CvHidHaarStageClassifier |
struct | CvHidHaarClassifierCascade |
Defines | |
#define | CV_ADJUST_FEATURES 1 |
#define | CV_ADJUST_WEIGHTS 0 |
#define | sum_elem_ptr(sum, row, col) ((sumtype*)CV_MAT_ELEM_PTR_FAST((sum),(row),(col),sizeof(sumtype))) |
#define | sqsum_elem_ptr(sqsum, row, col) ((sqsumtype*)CV_MAT_ELEM_PTR_FAST((sqsum),(row),(col),sizeof(sqsumtype))) |
#define | calc_sum(rect, offset) ((rect).p0[offset] - (rect).p1[offset] - (rect).p2[offset] + (rect).p3[offset]) |
Typedefs | |
typedef int | sumtype |
typedef double | sqsumtype |
typedef struct CvHidHaarFeature | CvHidHaarFeature |
typedef struct CvHidHaarTreeNode | CvHidHaarTreeNode |
typedef struct CvHidHaarClassifier | CvHidHaarClassifier |
typedef struct CvHidHaarStageClassifier | CvHidHaarStageClassifier |
Functions | |
void * | cvAlignPtr (const void *ptr, int align=32) |
static void | icvReleaseHidHaarClassifierCascade (CvHidHaarClassifierCascade **_cascade) |
static CvHidHaarClassifierCascade * | icvCreateHidHaarClassifierCascade (CvHaarClassifierCascade *cascade) |
void | cvSetImagesForHaarClassifierCascade (CvHaarClassifierCascade *_cascade, const CvArr *_sum, const CvArr *_sqsum, const CvArr *_tilted_sum, double scale) |
CV_INLINE double | icvEvalHidHaarClassifier (CvHidHaarClassifier *classifier, double variance_norm_factor, size_t p_offset) |
int | cvRunHaarClassifierCascade (CvHaarClassifierCascade *_cascade, CvPoint pt, int start_stage) |
static int | is_equal (const void *_r1, const void *_r2, void *) |
CvSeq * | cvHaarDetectObjects2 (const CvArr *_img, CvHaarClassifierCascade *cascade, CvMemStorage *storage, double scale_factor, int min_neighbors, int flags, CvSize min_size) |
void | detect_and_draw (IplImage *img, std::vector< Rectangle > &facesRec) |
int | main (const int argc, const char **argv) |
Variables | |
static CvMemStorage * | storage = 0 |
static CvHaarClassifierCascade * | cascade = 0 |
int | icvHaarClassifierInitAlloc_32f_p = 0 |
int | icvHaarClassifierFree_32f_p = 0 |
int | icvApplyHaarClassifier_32s32f_C1R_p = 0 |
int | icvRectStdDev_32s32f_C1R_p = 0 |
const int | icv_object_win_border = 1 |
const float | icv_stage_threshold_bias = 0.0001f |
test face detection
Definition in file test-faceDet.C.