From e67871d26f2e73861187e86110e240dd7718ea51 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 17 Dec 2018 20:17:38 +0100 Subject: percentage --- client/faceSearch/faceSearch.result.js | 6 +++--- 1 file 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 ( -
+
{fullname} {'('}{gender}{')'}
{description}
- {courtesyS(images, 'image')}
- {distance} + {courtesyS(images, 'image')}{' in dataset'}
+ {Math.round((1 - distance) * 100)}{'% match'}
) }) -- cgit v1.2.3-70-g09d2