diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-17 20:17:38 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-17 20:18:28 +0100 |
| commit | e67871d26f2e73861187e86110e240dd7718ea51 (patch) | |
| tree | 32d5ea27201d4443b7584f91bf16d4382e404557 /client/faceSearch | |
| parent | 1c82f7ec6a603978322e16470547731e92e947c6 (diff) | |
percentage
Diffstat (limited to 'client/faceSearch')
| -rw-r--r-- | client/faceSearch/faceSearch.result.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/faceSearch/faceSearch.result.js b/client/faceSearch/faceSearch.result.js index bc7831d9..2a85552d 100644 --- a/client/faceSearch/faceSearch.result.js +++ b/client/faceSearch/faceSearch.result.js @@ -64,12 +64,12 @@ class FaceSearchResult extends Component { const { uuid } = result.uuid const { fullname, gender, description, images } = result.identity return ( - <div> + <div key={i}> <img src={'https://megapixels.nyc3.digitaloceanspaces.com/v1/media/' + dataset + '/' + uuid + '.jpg'} /> {fullname} {'('}{gender}{')'}<br/> {description}<br/> - {courtesyS(images, 'image')}<br /> - {distance} + {courtesyS(images, 'image')}{' in dataset'}<br /> + {Math.round((1 - distance) * 100)}{'% match'} </div> ) }) |
