OpenCV  3.2.0-dev
Open Source Computer Vision
Collaboration diagram for C API:

Classes

struct  CvAvgComp
 
struct  CvHaarClassifier
 
struct  CvHaarClassifierCascade
 
struct  CvHaarFeature
 
struct  CvHaarStageClassifier
 

Macros

#define CV_HAAR_DO_CANNY_PRUNING   1
 
#define CV_HAAR_DO_ROUGH_SEARCH   8
 
#define CV_HAAR_FEATURE_MAX   3
 
#define CV_HAAR_FIND_BIGGEST_OBJECT   4
 
#define CV_HAAR_MAGIC_VAL   0x42500000
 
#define CV_HAAR_SCALE_IMAGE   2
 
#define CV_IS_HAAR_CLASSIFIER(haar)
 
#define CV_TYPE_NAME_HAAR   "opencv-haar-classifier"
 

Typedefs

typedef struct CvHidHaarClassifierCascade CvHidHaarClassifierCascade
 

Functions

CvSeqcvHaarDetectObjects (const CvArr *image, CvHaarClassifierCascade *cascade, CvMemStorage *storage, double scale_factor=1.1, int min_neighbors=3, int flags=0, CvSize min_size=cvSize(0, 0), CvSize max_size=cvSize(0, 0))
 
CvHaarClassifierCascadecvLoadHaarClassifierCascade (const char *directory, CvSize orig_window_size)
 
void cvReleaseHaarClassifierCascade (CvHaarClassifierCascade **cascade)
 
int cvRunHaarClassifierCascade (const CvHaarClassifierCascade *cascade, CvPoint pt, int start_stage=0)
 
void cvSetImagesForHaarClassifierCascade (CvHaarClassifierCascade *cascade, const CvArr *sum, const CvArr *sqsum, const CvArr *tilted_sum, double scale)
 

Detailed Description

Macro Definition Documentation

#define CV_HAAR_DO_CANNY_PRUNING   1

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

#define CV_HAAR_DO_ROUGH_SEARCH   8

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

#define CV_HAAR_FEATURE_MAX   3

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

#define CV_HAAR_FIND_BIGGEST_OBJECT   4

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

#define CV_HAAR_MAGIC_VAL   0x42500000

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

#define CV_HAAR_SCALE_IMAGE   2

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

#define CV_IS_HAAR_CLASSIFIER (   haar)

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

Value:
((haar) != NULL && \
#define CV_HAAR_MAGIC_VAL
Definition: objdetect_c.h:64
#define CV_MAGIC_MASK
Definition: types_c.h:408
Definition: objdetect_c.h:106
#define CV_TYPE_NAME_HAAR   "opencv-haar-classifier"

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

Typedef Documentation

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

Function Documentation

CvSeq* cvHaarDetectObjects ( const CvArr image,
CvHaarClassifierCascade cascade,
CvMemStorage storage,
double  scale_factor = 1.1,
int  min_neighbors = 3,
int  flags = 0,
CvSize  min_size = cvSize(0, 0),
CvSize  max_size = cvSize(0, 0) 
)

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

CvHaarClassifierCascade* cvLoadHaarClassifierCascade ( const char *  directory,
CvSize  orig_window_size 
)

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

void cvReleaseHaarClassifierCascade ( CvHaarClassifierCascade **  cascade)

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

int cvRunHaarClassifierCascade ( const CvHaarClassifierCascade cascade,
CvPoint  pt,
int  start_stage = 0 
)

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>

void cvSetImagesForHaarClassifierCascade ( CvHaarClassifierCascade cascade,
const CvArr sum,
const CvArr sqsum,
const CvArr tilted_sum,
double  scale 
)

#include <objdetect/include/opencv2/objdetect/objdetect_c.h>