#include "box.h"
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
Go to the source code of this file.
Classes |
struct | sortable_bbox |
Functions |
float | box_intersection (box a, box b) |
float | box_iou (box a, box b) |
float | box_rmse (box a, box b) |
float | box_union (box a, box b) |
box | decode_box (box b, box anchor) |
dbox | derivative (box a, box b) |
dbox | dintersect (box a, box b) |
dbox | diou (box a, box b) |
void | do_nms (box *boxes, float **probs, int total, int classes, float thresh) |
void | do_nms_sort (box *boxes, float **probs, int total, int classes, float thresh) |
dbox | dunion (box a, box b) |
box | encode_box (box b, box anchor) |
box | float_to_box (float *f) |
int | nms_comparator (const void *pa, const void *pb) |
float | overlap (float x1, float w1, float x2, float w2) |
void | test_box () |
void | test_dintersect () |
void | test_dunion () |
Function Documentation
Definition at line 78 of file box.c.
Definition at line 94 of file box.c.
Definition at line 99 of file box.c.
Definition at line 87 of file box.c.
Definition at line 16 of file box.c.
void do_nms |
( |
box * |
boxes, |
|
|
float ** |
probs, |
|
|
int |
total, |
|
|
int |
classes, |
|
|
float |
thresh |
|
) |
| |
void do_nms_sort |
( |
box * |
boxes, |
|
|
float ** |
probs, |
|
|
int |
total, |
|
|
int |
classes, |
|
|
float |
thresh |
|
) |
| |
Definition at line 6 of file box.c.
float overlap |
( |
float |
x1, |
|
|
float |
w1, |
|
|
float |
x2, |
|
|
float |
w2 |
|
) |
| |
Definition at line 67 of file box.c.