Example usage for com.amazonaws.services.rekognition.model Label getConfidence

List of usage examples for com.amazonaws.services.rekognition.model Label getConfidence

Introduction

In this page you can find the example usage for com.amazonaws.services.rekognition.model Label getConfidence.

Prototype


public Float getConfidence() 

Source Link

Document

Level of confidence.

Usage

From source file:org.nuxeo.vision.aws.AmazonRekognitionResponse.java

License:Apache License

public AmazonRekognitionResponse(DetectLabelsResult response) {
    this.response = response;
    for (Label label : response.getLabels()) {
        labels.add(new TextEntity(label.getName(), label.getConfidence(), "en_US"));
    }/*w  w  w .j  a  va2s.  co  m*/
}