Interface PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder (0.2.0)

public static interface PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBodyCoverageScore()

public abstract float getBodyCoverageScore()

Coverage score for body.

optional float body_coverage_score = 8;

Returns
Type Description
float

The bodyCoverageScore.

getDetectedPersonIdentifiedBox()

public abstract PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox getDetectedPersonIdentifiedBox()

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox

The detectedPersonIdentifiedBox.

getDetectedPersonIdentifiedBoxOrBuilder()

public abstract PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder getDetectedPersonIdentifiedBoxOrBuilder()

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder

getDetectedPpeIdentifiedBoxes(int index)

public abstract PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox getDetectedPpeIdentifiedBoxes(int index)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox

getDetectedPpeIdentifiedBoxesCount()

public abstract int getDetectedPpeIdentifiedBoxesCount()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
int

getDetectedPpeIdentifiedBoxesList()

public abstract List<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox> getDetectedPpeIdentifiedBoxesList()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
List<PPEIdentifiedBox>

getDetectedPpeIdentifiedBoxesOrBuilder(int index)

public abstract PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder getDetectedPpeIdentifiedBoxesOrBuilder(int index)

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Parameter
Name Description
index int
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder

getDetectedPpeIdentifiedBoxesOrBuilderList()

public abstract List<? extends PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder> getDetectedPpeIdentifiedBoxesOrBuilderList()

The info of detected person associated ppe identified boxes.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder>

getEyesCoverageScore()

public abstract float getEyesCoverageScore()

Coverage score for eyes.

optional float eyes_coverage_score = 5;

Returns
Type Description
float

The eyesCoverageScore.

getFaceCoverageScore()

public abstract float getFaceCoverageScore()

Coverage score for each body part. Coverage score for face.

optional float face_coverage_score = 4;

Returns
Type Description
float

The faceCoverageScore.

getFeetCoverageScore()

public abstract float getFeetCoverageScore()

Coverage score for feet.

optional float feet_coverage_score = 9;

Returns
Type Description
float

The feetCoverageScore.

getHandsCoverageScore()

public abstract float getHandsCoverageScore()

Coverage score for hands.

optional float hands_coverage_score = 7;

Returns
Type Description
float

The handsCoverageScore.

getHeadCoverageScore()

public abstract float getHeadCoverageScore()

Coverage score for head.

optional float head_coverage_score = 6;

Returns
Type Description
float

The headCoverageScore.

getPersonId()

public abstract long getPersonId()

The id of detected person.

int64 person_id = 1;

Returns
Type Description
long

The personId.

hasBodyCoverageScore()

public abstract boolean hasBodyCoverageScore()

Coverage score for body.

optional float body_coverage_score = 8;

Returns
Type Description
boolean

Whether the bodyCoverageScore field is set.

hasDetectedPersonIdentifiedBox()

public abstract boolean hasDetectedPersonIdentifiedBox()

The info of detected person identified box.

.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;

Returns
Type Description
boolean

Whether the detectedPersonIdentifiedBox field is set.

hasEyesCoverageScore()

public abstract boolean hasEyesCoverageScore()

Coverage score for eyes.

optional float eyes_coverage_score = 5;

Returns
Type Description
boolean

Whether the eyesCoverageScore field is set.

hasFaceCoverageScore()

public abstract boolean hasFaceCoverageScore()

Coverage score for each body part. Coverage score for face.

optional float face_coverage_score = 4;

Returns
Type Description
boolean

Whether the faceCoverageScore field is set.

hasFeetCoverageScore()

public abstract boolean hasFeetCoverageScore()

Coverage score for feet.

optional float feet_coverage_score = 9;

Returns
Type Description
boolean

Whether the feetCoverageScore field is set.

hasHandsCoverageScore()

public abstract boolean hasHandsCoverageScore()

Coverage score for hands.

optional float hands_coverage_score = 7;

Returns
Type Description
boolean

Whether the handsCoverageScore field is set.

hasHeadCoverageScore()

public abstract boolean hasHeadCoverageScore()

Coverage score for head.

optional float head_coverage_score = 6;

Returns
Type Description
boolean

Whether the headCoverageScore field is set.