Monado OpenXR Runtime
Loading...
Searching...
No Matches
u_box_iou.hpp File Reference

Code to deal with bounding boxes for camera-based hand-tracking. More...

#include <math.h>
#include <cmath>
#include "xrt/xrt_defines.h"
Include dependency graph for u_box_iou.hpp:

Go to the source code of this file.

Data Structures

struct  xrt::auxiliary::util::box_iou::Box
 2D Box defined by center and size (width and height) More...
 

Functions

static float xrt::auxiliary::util::box_iou::overlap (float x1, float w1, float x2, float w2)
 
static float xrt::auxiliary::util::box_iou::boxIntersection (const Box &a, const Box &b)
 
static float xrt::auxiliary::util::box_iou::boxUnion (const Box &a, const Box &b)
 
static float xrt::auxiliary::util::box_iou::boxIOU (const Box &a, const Box &b)
 Ratio of box intersection area vs box union area (Intersection Over Union)
 

Detailed Description

Code to deal with bounding boxes for camera-based hand-tracking.

Author
Moshi Turner moshi.nosp@m.turn.nosp@m.er@pr.nosp@m.oton.nosp@m.mail..nosp@m.com
Marcus Edel marcu.nosp@m.s.ed.nosp@m.el@co.nosp@m.llab.nosp@m.ora.c.nosp@m.om

Function Documentation

◆ boxIOU()

static float xrt::auxiliary::util::box_iou::boxIOU ( const Box a,
const Box b 
)
static

Ratio of box intersection area vs box union area (Intersection Over Union)

References xrt::auxiliary::util::box_iou::boxIOU().

Referenced by xrt::auxiliary::util::box_iou::boxIOU().