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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user