#ifndef __circle_core_shape_h__ #define __circle_core_shape_h__ #ifdef __cplusplus extern "C" { #endif #include //camera bool grab(unsigned char *buf, int &w, int &h, int &Cross1x,int &Cross1y,int &Cross2x,int &Cross2y,int &byte_width); bool initialize(); void destruct(); void showCrossBar(bool show); int findFeatures(unsigned char *buf, int w, int h, int byte_width, int gray2bw_thresh, int findCircles, double *cx, double *cy, double *r, int nCircle, int findCorners, double *lx, double *ly, int nCorners); #ifdef __cplusplus } #endif #endif /* __circle_core_shape_h__ */