sp500_yolo_segmentation Struct Reference

sp500_yolo_segmentation Struct Reference#

Mobilint REGULUS: sp500_yolo_segmentation Struct Reference
Mobilint REGULUS v4.1
SP500 DSP API
sp500_yolo_segmentation Struct Reference

One segmentation result. 11 floats; the layout of a SP500_YOLO_TASK_SEGMENT record. More...

#include <sp500/yolo.h>

Data Fields

sp500_yolo_detection det
float bx1
float by1
float bx2
float by2
float mask_offset

Detailed Description

One segmentation result. 11 floats; the layout of a SP500_YOLO_TASK_SEGMENT record.

Definition at line 130 of file yolo.h.

Field Documentation

◆ det

sp500_yolo_detection sp500_yolo_segmentation::det

the detection

Definition at line 132 of file yolo.h.

◆ bx1

float sp500_yolo_segmentation::bx1

mask box left, snapped to 4 px and clamped

Definition at line 133 of file yolo.h.

◆ by1

float sp500_yolo_segmentation::by1

mask box top

Definition at line 134 of file yolo.h.

◆ bx2

float sp500_yolo_segmentation::bx2

mask box right

Definition at line 135 of file yolo.h.

◆ by2

float sp500_yolo_segmentation::by2

mask box bottom

Definition at line 136 of file yolo.h.

◆ mask_offset

float sp500_yolo_segmentation::mask_offset

Byte offset into output.mask of this box's mask, as a uint32 bit pattern in a float slot - read it with sp500_yolo_mask_offset(), never as a float. The mask is (bx2 - bx1) * (by2 - by1) bytes valued 0 or 1. SP500_YOLO_MASK_NONE means no mask was stored.

Definition at line 141 of file yolo.h.


The documentation for this struct was generated from the following file: