summaryrefslogtreecommitdiff
path: root/client/faceSearch/faceSearch.result.js
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-01-14 22:25:25 +0100
committeradamhrv <adam@ahprojects.com>2019-01-14 22:25:25 +0100
commitdf9d364e3664f45c65cac5990d3d742b990217fa (patch)
tree8842d844a5ea8e6c87599b8683009cba23262713 /client/faceSearch/faceSearch.result.js
parent2fedd95fcee3f048c5f24333ffdb9bb4e13eafe2 (diff)
parent3b2f0dc6d969fa323fe8775b4269e17c60192431 (diff)
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'client/faceSearch/faceSearch.result.js')
-rw-r--r--client/faceSearch/faceSearch.result.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/faceSearch/faceSearch.result.js b/client/faceSearch/faceSearch.result.js
index 95534830..c2509033 100644
--- a/client/faceSearch/faceSearch.result.js
+++ b/client/faceSearch/faceSearch.result.js
@@ -72,8 +72,8 @@ class FaceSearchResult extends Component {
}
const els = results.map((result, i) => {
const distance = distances[i]
- const { uuid } = result.uuid
- const { x, y, w, h } = result.roi
+ const { uuid } = result.file_record
+ const { x, y, w, h } = result.face_roi
const { fullname, gender, description, images } = result.identity
const bbox = {
left: (100 * x) + '%',