diff --git a/internal/js/view_support.js b/internal/js/view_support.js index f1fcbc0..bf9eb5b 100644 --- a/internal/js/view_support.js +++ b/internal/js/view_support.js @@ -226,7 +226,10 @@ $(document).ready( function() if( x >= fx && x <= fx+fw && y >= fy && y <= fy+fh ) { if( objs[current].faces[i].who ) + { item_list['match']={ 'name': objs[current].faces[i].who, 'which_face': i, 'id': objs[current].faces[i].id } + item_list['wrong_person']={ 'name': 'wrong person', 'which_face': i, 'id': objs[current].faces[i].id } + } else { item_list['no_match_new_person']={ 'name': 'Add as reference image to NEW person', 'which_face': i, 'id': objs[current].faces[i].id } @@ -280,6 +283,11 @@ function FaceDBox(key, item) ` } + if ( key == 'wrong_person' ) + { + div+='
wrong person, so mark this as the wrong person/refimg connection, for face#' + item[key]['which_face'] + div+='
face db id: ' + item[key]['id'] + } if ( key == 'no_match_no_face' || key == 'no_match_too_young' || key == 'no_match_ignore' ) { div+='
just track this against face#' + item[key]['which_face']