21 #ifndef PLANAR_OBJECT_RECOGNIZER_H
22 #define PLANAR_OBJECT_RECOGNIZER_H
63 int patch_size,
int yape_radius,
64 int tree_number,
int nbLev,
67 bool build(IplImage *model_image,
68 int max_point_number_on_model,
int patch_size,
69 int yape_radius,
int tree_number,
int nbLev,
96 void independent_scaling(
float min_lambda1,
float max_lambda1,
float min_lambda2,
float max_lambda2);
99 float min_lambda2,
float max_lambda2,
100 float min_l1_l2,
float max_l1_l2);
115 void learn(
int max_point_number_on_model,
116 int patch_size,
int yape_radius,
117 int tree_number,
int nbLev=5,
121 void save(
string directory_name);
125 bool load(
string directory_name);
140 bool detect(IplImage * input_image);
186 bool p_draw_points,
bool p_draw_matches,
187 bool p_draw_object,
bool p_draw_model_image,
210 float cu,
float cv,
int scale);
212 int patch_size,
int view_number,
269 int u,
int v,
int patch_size,
289 #endif // PLANAR_OBJECT_RECOGNIZER_H