model_used is now per file, not per face, implemented split of default_model to default_refimg_model and default_scan_model in settings, and default_refimg_model actualy works when creating refimgs in person.py. The model_used in face_file_link is based on default settings model and will scan with cnn if chosen and store that in DB as needed. Need viewer to allow changing per file / not just default for future scans

This commit is contained in:
2021-07-27 17:14:03 +10:00
parent 50e28ed27c
commit b7d346c206
7 changed files with 59 additions and 62 deletions

View File

@@ -83,6 +83,9 @@
</figure>
</div id="/RI*">
{% endfor %}
<div id="throb" style="display:none" class="col-1 px-0 {{offset}}">
<img height="64px" src="{{url_for('static', filename='throbber.gif')}}"></img>
</div>
</div class="row col-12">
<div class="row col-12">
<br>
@@ -100,7 +103,7 @@
<div class="row col-12">
<label class="btn btn-success offset-3 col-2">
Add reference image
<input name="refimg_file" type="file" onChange="$('#new_ri').submit()" style="display:none;" id="new_file_chooser">
<input name="refimg_file" type="file" onChange="$('#throb').attr('style','show'); $('#new_ri').submit()" style="display:none;" id="new_file_chooser">
</label>
</div class="row col-12">
</form>