27#include <opencv2/core/core.hpp>
28#include <opencv2/imgproc/imgproc.hpp>
50 img[2 * i + 1] = c[0];
51 img[2 * i] =
col % 2 ? c[1] : c[2];
103 for (
unsigned int i = 0; i <
contours.size(); i++) {
109 for (
unsigned int i = 0; i <
contours.size(); i++) {
115 for (
unsigned int i = 0; i <
contours.size(); i++) {
127 for (
unsigned int i = 0; i <
contours.size(); i++) {
157 if ((
area > 16000.) && (
area < 28000.)) {
160 if ((
area > 11000.) && (
area < 16000.)) {
163 if ((
area > 3000.) && (
area < 11000.)) {
float moments[MOMENT_DELAY]
static float mu
Physical model parameters.
struct contour_threshold cont_thres
void find_contour(char *img, int width, int height)
void uyvy_opencv_to_yuv_opencv(Mat image, Mat image_in, int width, int height)
void yuv_opencv_to_yuv422(Mat image, char *img, int width, int height)
struct contour_estimation cont_est
Detects contours of an obstacle used in the autonomous drone racing.
void grayscale_opencv_to_yuv422(Mat image, char *img, int width, int height)
A small library with functions to convert between the Paparazzi used YUV422 arrays and the opencv ima...