sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
sherpa_onnx::cxx::AudioEvent Struct Reference

One audio-tagging event returned by the C++ wrapper. More...

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::AudioEvent:

Public Attributes

std::string name
 
int32_t index
 
float prob
 

Detailed Description

Definition at line 1614 of file cxx-api.h.

Member Data Documentation

◆ index

int32_t sherpa_onnx::cxx::AudioEvent::index

Class index.

Definition at line 1618 of file cxx-api.h.

◆ name

std::string sherpa_onnx::cxx::AudioEvent::name

Event label.

Definition at line 1616 of file cxx-api.h.

◆ prob

float sherpa_onnx::cxx::AudioEvent::prob

Probability or confidence score.

Definition at line 1620 of file cxx-api.h.


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