darknet/src/box.h

15 lines
234 B
C
Raw Normal View History

2015-06-16 09:22:44 +03:00
#ifndef BOX_H
#define BOX_H
2017-06-02 06:31:13 +03:00
#include "darknet.h"
2015-06-16 09:22:44 +03:00
typedef struct{
float dx, dy, dw, dh;
} dbox;
2015-09-01 21:21:01 +03:00
float box_rmse(box a, box b);
2015-06-16 09:22:44 +03:00
dbox diou(box a, box b);
2015-08-25 04:27:42 +03:00
box decode_box(box b, box anchor);
box encode_box(box b, box anchor);
2015-06-16 09:22:44 +03:00
#endif