categories[]
string
List of RAI categories.
scores[]
number
List of RAI scores.
List of detected labels
JSON representation |
---|
{
"categories": [
string
],
"scores": [
number
],
"detectedLabels": [
{
object ( |
DetectedLabels
Filters which return labels with confidence scores.
The list of detected entities for the rai signal.
raiCategory
string
The RAI category for the deteceted labels.
JSON representation |
---|
{
"entities": [
{
object ( |
Entity
The properties for a detected entity from the rai signal.
mid
string
MID of the label
description
string
description of the label
score
number
confidence score of the label
Bounding box of the label
iouScore
number
The intersection ratio between the detection bounding box and the mask.
JSON representation |
---|
{
"mid": string,
"description": string,
"score": number,
"boundingBox": {
object ( |
BoundingBox
An integer bounding box of the original pixel size for the detected labels.
x1
integer
The X coordinate of the top-left corner, in pixels.
y1
integer
The Y coordinate of the top-left corner, in pixels.
x2
integer
The X coordinate of the bottom-right corner, in pixels.
y2
integer
The Y coordinate of the bottom-right corner, in pixels.
JSON representation |
---|
{ "x1": integer, "y1": integer, "x2": integer, "y2": integer } |