- All Implemented Interfaces:
- AbstractRekognitionExtractor.ValueHandler
- Enclosing class:
- AbstractRekognitionExtractor
class AbstractRekognitionExtractor.NumericValuesHandler
extends AbstractRekognitionExtractor.AbstractValueHandler
implements AbstractRekognitionExtractor.ValueHandler
NumericValuesHandler creates a series of Topics from a JSONObject where
the keys are used as Topics to be associated with the detection and
a numeric value describing the confidence of the association. For example
the JSONObject with a key "emotion"
{
"happy" : 0.98,
"surprised" : 0.05,
"calm" : 0.02
}
will create three associations with the detection, emotion and respective
confidence as players.