30 #ifndef DETECT_CONTOUR_FPS
31 #define DETECT_CONTOUR_FPS 0
struct video_listener * cv_add_to_device(struct video_config_t *device, cv_function func, uint16_t fps, uint8_t id)
Computer vision framework for onboard processing.
void detect_contour_init(void)
struct image_t * contour_func(struct image_t *img, uint8_t camera_id)
#define DETECT_CONTOUR_FPS
Default FPS (zero means run at camera fps)
void * buf
Image buffer (depending on the image_type)
enum image_type type
The image type.
@ IMAGE_YUV422
UYVY format (uint16 per pixel)
PRINT_CONFIG_VAR(ONELOOP_ANDI_FILT_CUTOFF)
struct contour_threshold cont_thres
void find_contour(char *img, int width, int height)
Detects contours of an obstacle used in the autonomous drone racing.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.