getConfidence

open fun getConfidence(): Float
Confidence score for the detection (0.0 to 1.0) 
float confidence = 4;

Return

The confidence.