mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
29 lines
460 B
OpenEdge ABL
29 lines
460 B
OpenEdge ABL
|
/*
|
||
|
* include the headers required by the generated cpp code
|
||
|
*/
|
||
|
%{
|
||
|
#include "Calibration.h"
|
||
|
#include "image_pool.h"
|
||
|
using namespace cv;
|
||
|
%}
|
||
|
|
||
|
|
||
|
class Calibration {
|
||
|
public:
|
||
|
|
||
|
Size patternsize;
|
||
|
|
||
|
Calibration();
|
||
|
virtual ~Calibration();
|
||
|
|
||
|
bool detectAndDrawChessboard(int idx, image_pool* pool);
|
||
|
|
||
|
void resetChess();
|
||
|
|
||
|
int getNumberDetectedChessboards();
|
||
|
|
||
|
void calibrate(const char* filename);
|
||
|
|
||
|
void drawText(int idx, image_pool* pool, const char* text);
|
||
|
};
|