- All Implemented Interfaces:
- AbstractRekognitionExtractor.ValueHandler
- Enclosing class:
- AbstractRekognitionExtractor
protected class AbstractRekognitionExtractor.MatchHandler
extends AbstractRekognitionExtractor.AbstractValueHandler
implements AbstractRekognitionExtractor.ValueHandler
MatchHandler creates a Topic representing a celebrity match from the
response data. The expected response structure is like:
[{
"tag":,
"score":
},...]
Here tag has snake case and is converted to a nicer format.
Example: "Gwyneth_Paltrow" -> "Gwyneth Paltrow"