public Float getConfidence() {
        return this.confidence;
    }
<p>
The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry
points around the detected text.
</p>

@return The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the
        geometry points around the detected text.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetection.java