You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
605 B
C
22 lines
605 B
C
7 months ago
|
#ifndef __circle_core_shape_h__
|
||
|
#define __circle_core_shape_h__
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
#include <stdlib.h>
|
||
|
//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__ */
|