# sp500\_yolo\_output

```cpp
#include <sp500/yolo.h>

struct sp500_yolo_output
```

Where the results go.

## Attributes

| Member | Description |
| --- | --- |
| [`records`](<#records>) |  |
| [`mask`](<#mask>) |  |
| [`reserved`](<#reserved>) |  |

### records

```cpp
sp500_buffer records
```

Receives up to `params.max_detections` records. Size it with [sp500\_yolo\_records\_bytes()](<https://docs.mobilint.com/regulus/en/v4.1/api/cpp/yolo-h/#sp500-yolo-records-bytes>). Required.

### mask

```cpp
sp500_buffer mask
```

Segmentation only: receives the packed per-box masks, addressed by each record's mask offset. Required for [SP500\_YOLO\_TASK\_SEGMENT](<https://docs.mobilint.com/regulus/en/v4.1/api/cpp/yolo-h/#sp500-yolo-task-detect>), unused otherwise.

### reserved

```cpp
uint32_t reserved[4]
```

must be zero
