adding wrong person to menu, no code to process, just the item
This commit is contained in:
@@ -226,7 +226,10 @@ $(document).ready( function()
|
|||||||
if( x >= fx && x <= fx+fw && y >= fy && y <= fy+fh )
|
if( x >= fx && x <= fx+fw && y >= fy && y <= fy+fh )
|
||||||
{
|
{
|
||||||
if( objs[current].faces[i].who )
|
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['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
|
else
|
||||||
{
|
{
|
||||||
item_list['no_match_new_person']={ 'name': 'Add as reference image to NEW person', 'which_face': i, 'id': objs[current].faces[i].id }
|
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)
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
if ( key == 'wrong_person' )
|
||||||
|
{
|
||||||
|
div+='<br>wrong person, so mark this as the wrong person/refimg connection, for face#' + item[key]['which_face']
|
||||||
|
div+='<br>face db id: ' + item[key]['id']
|
||||||
|
}
|
||||||
if ( key == 'no_match_no_face' || key == 'no_match_too_young' || key == 'no_match_ignore' )
|
if ( key == 'no_match_no_face' || key == 'no_match_too_young' || key == 'no_match_ignore' )
|
||||||
{
|
{
|
||||||
div+='<br>just track this against face#' + item[key]['which_face']
|
div+='<br>just track this against face#' + item[key]['which_face']
|
||||||
|
|||||||
Reference in New Issue
Block a user