ItsfoundRekognition.ImageLabelParser (itsfound_rekognition v0.1.7) View Source
Link to this section Summary
Functions
this parses will parse the rekognition result
Link to this section Functions
this parses will parse the rekognition result
(1) first by filtering out results above a threshold - here we default to 90%
(2) then by pulling out just the label name
and confidence
fields
The results should look like this:
[
%{match: 99.46314239501953, name: "Outdoors"},
%{match: 99.45779418945313, name: "Nature"},
%{match: 99.23141479492188, name: "Scenery"},
%{match: 98.38043212890625, name: "Green"},
%{match: 97.57438659667969, name: "Landscape"},
%{match: 91.14559936523438, name: "Land"}
]