3 #include "opencv2/objdetect/objdetect_c.h"
5 #include "_lsvm_types.h"
29 #define EMODEL (STEP_END + MODEL)
30 #define EP (STEP_END + P)
31 #define ECOMP (STEP_END + COMP)
32 #define ESCORE (STEP_END + SCORE)
33 #define ERFILTER (STEP_END + RFILTER)
34 #define EPFILTERs (STEP_END + PFILTERs)
35 #define EPFILTER (STEP_END + PFILTER)
36 #define ESIZEX (STEP_END + SIZEX)
37 #define ESIZEY (STEP_END + SIZEY)
38 #define EWEIGHTS (STEP_END + WEIGHTS)
39 #define ETAGV (STEP_END + TAGV)
40 #define EVx (STEP_END + Vx)
41 #define EVy (STEP_END + Vy)
42 #define ETAGD (STEP_END + TAGD)
43 #define EDx (STEP_END + Dx)
44 #define EDy (STEP_END + Dy)
45 #define EDxx (STEP_END + Dxx)
46 #define EDyy (STEP_END + Dyy)
47 #define EBTAG (STEP_END + BTAG)
50 int LSVMparser(const char * filename, CvLSVMFilterObject *** model, int *last, int *max,
51 int **comp, float **b, int *count, float * score);
57 const char *modelPath,
59 CvLSVMFilterObject ***filters,
64 float *scoreThreshold);