summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-12 19:02:19 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-12 19:02:19 +0100
commit384be7d882d1402220b10bd5b2d0037226b41785 (patch)
tree4d631de49653dd222191f9250ec51a2ed8a9cc2f /client
parent521bc1e5251105f895dd88a38ddc889cbd0e4431 (diff)
returning face results again
Diffstat (limited to 'client')
-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) + '%',