11 CvPoint artvert_corners
[4];
19 void useModelFile( const char *modelfile
);
21 bool buildCached(int nbcam
, CvCapture
*capture
, bool cache
, planar_object_recognizer
&detector
, bool dont_try_to_train
);
23 int getImageWidth() { return image_width
; }
24 int getImageHeight() { return image_height
; }
28 int image_width
, image_height
;
31 const char *modelfile
;
33 enum State
{ TAKE_SHOT
, CORNERS
, ARTVERT_CORNERS
};
36 static void onMouseStatic(int event
, int x
, int y
, int flags
, void* param
);
37 void onMouse(int event
, int x
, int y
, int flags
);
38 bool interactiveSetup(CvCapture
*capture
);