Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Functions | |
void | color_object_detector_init (void) |
void | color_object_detector_periodic (void) |
Assumes the color_object consists of a continuous color and checks if you are over the defined color_object or not
Definition in file cv_detect_color_object.h.
void color_object_detector_init | ( | void | ) |
Definition at line 154 of file cv_detect_color_object.c.
References cod_cb_max1, cod_cb_max2, cod_cb_min1, cod_cb_min2, cod_cr_max1, cod_cr_max2, cod_cr_min1, cod_cr_min2, cod_draw1, cod_draw2, cod_lum_max1, cod_lum_max2, cod_lum_min1, cod_lum_min2, COLOR_OBJECT_DETECTOR_FPS1, COLOR_OBJECT_DETECTOR_FPS2, cv_add_to_device(), global_filters, mutex, object_detector1(), and object_detector2().
void color_object_detector_periodic | ( | void | ) |
Definition at line 259 of file cv_detect_color_object.c.
References color_count, COLOR_OBJECT_DETECTION1_ID, COLOR_OBJECT_DETECTION2_ID, global_filters, mutex, color_object_t::updated, color_object_t::x_c, and color_object_t::y_c.
uint8_t cod_cb_max1 |
Definition at line 59 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_cb_max2 |
Definition at line 66 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_cb_min1 |
Definition at line 58 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_cb_min2 |
Definition at line 65 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_cr_max1 |
Definition at line 61 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_cr_max2 |
Definition at line 68 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_cr_min1 |
Definition at line 60 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_cr_min2 |
Definition at line 67 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
bool cod_draw1 |
Definition at line 70 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
bool cod_draw2 |
Definition at line 71 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_lum_max1 |
Definition at line 57 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_lum_max2 |
Definition at line 64 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_lum_min1 |
Definition at line 56 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().
uint8_t cod_lum_min2 |
Definition at line 63 of file cv_detect_color_object.c.
Referenced by color_object_detector_init(), and object_detector().