#include "box.h"
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
Go to the source code of this file.
|
int | nms_comparator (const void *pa, const void *pb) |
|
void | do_nms_obj (detection *dets, int total, int classes, float thresh) |
|
void | do_nms_sort (detection *dets, int total, int classes, float thresh) |
|
box | float_to_box (float *f, int stride) |
|
dbox | derivative (box a, box b) |
|
float | overlap (float x1, float w1, float x2, float w2) |
|
float | box_intersection (box a, box b) |
|
float | box_union (box a, box b) |
|
float | box_iou (box a, box b) |
|
float | box_rmse (box a, box b) |
|
dbox | dintersect (box a, box b) |
|
dbox | dunion (box a, box b) |
|
void | test_dunion () |
|
void | test_dintersect () |
|
void | test_box () |
|
dbox | diou (box a, box b) |
|
void | do_nms (box *boxes, float **probs, int total, int classes, float thresh) |
|
box | encode_box (box b, box anchor) |
|
box | decode_box (box b, box anchor) |
|
◆ box_intersection()
float box_intersection |
( |
box |
a, |
|
|
box |
b |
|
) |
| |
◆ box_iou()
float box_iou |
( |
box |
a, |
|
|
box |
b |
|
) |
| |
◆ box_rmse()
float box_rmse |
( |
box |
a, |
|
|
box |
b |
|
) |
| |
◆ box_union()
float box_union |
( |
box |
a, |
|
|
box |
b |
|
) |
| |
◆ decode_box()
◆ derivative()
◆ dintersect()
◆ diou()
◆ do_nms()
void do_nms |
( |
box * |
boxes, |
|
|
float ** |
probs, |
|
|
int |
total, |
|
|
int |
classes, |
|
|
float |
thresh |
|
) |
| |
◆ do_nms_obj()
void do_nms_obj |
( |
detection * |
dets, |
|
|
int |
total, |
|
|
int |
classes, |
|
|
float |
thresh |
|
) |
| |
Definition at line 21 of file box.c.
◆ do_nms_sort()
void do_nms_sort |
( |
detection * |
dets, |
|
|
int |
total, |
|
|
int |
classes, |
|
|
float |
thresh |
|
) |
| |
Definition at line 58 of file box.c.
◆ dunion()
◆ encode_box()
◆ float_to_box()
box float_to_box |
( |
float * |
f, |
|
|
int |
stride |
|
) |
| |
Definition at line 91 of file box.c.
◆ nms_comparator()
int nms_comparator |
( |
const void * |
pa, |
|
|
const void * |
pb |
|
) |
| |
Definition at line 6 of file box.c.
◆ overlap()
float overlap |
( |
float |
x1, |
|
|
float |
w1, |
|
|
float |
x2, |
|
|
float |
w2 |
|
) |
| |
◆ test_box()
◆ test_dintersect()
◆ test_dunion()