#ifndef EDGEFIRST_DETECT_H
#define EDGEFIRST_DETECT_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ef_detect_box {
float xmin;
float ymin;
float xmax;
float ymax;
float score;
uint32_t label;
} ef_detect_box;
typedef struct ef_segmentation {
float xmin;
float ymin;
float xmax;
float ymax;
const uint8_t *mask;
uint32_t width;
uint32_t height;
} ef_segmentation;
typedef struct ef_merge_config {
uint32_t metric;
float threshold;
int class_agnostic;
uintptr_t max_det;
float score_threshold;
uint32_t mode;
} ef_merge_config;
typedef struct ef_tile_placement {
uintptr_t index;
uintptr_t count;
float origin_x;
float origin_y;
float crop_width;
float crop_height;
int has_letterbox;
float letterbox[4];
float frame_width;
float frame_height;
} ef_tile_placement;
#ifdef __cplusplus
}
#endif
#endif