2024-07-29 11:43:52 +08:00

46 lines
2.2 KiB
HTML

{% extends "main_base.html" %}
{% block title%}Result|COVID-19 Detector{% endblock %}
{% block mycontent%}
<section class="page-header">
</section><!-- /.page-header -->
<section class="faq-one faq-one__faq-page" id="res_xray">
<div class="container">
<div class="block-title" style="margin-top: 50px;">
<h3>输入X光胸片</h3>
</div><!-- /.block-title -->
<div class="row">
<div class="col-lg-5" style="padding-bottom: 40px">
<img src="{{ url_for('static', filename='images/upload_img/' ~current_user.id ~ '/upload_chest.jpg')}}" height="480px" width="480px"
style="margin-top: -20px;margin-left: -50px;" alt="">
</div>
<div class="col-lg-7">
<div class="row" style="margin-top: -20px">
<h3 class="col-lg-7" style="font-weight: bold;">预测类别:{{pred_type}}</h3>
{%if current_user.role_id==1%}
<a class=" col-lg-3" href="{{ url_for('user.my_patient',docid=current_user.id) }}">
<button type="button" class="btn btn-primary">反馈病患</button>
</a>
{%endif%}
</div>
<h4 style="display: inline-block;">轻微:{{pred_mild}}&nbsp;</h4>
<h4 style="display: inline-block;">严重:{{pred_sev}}&nbsp;</h4>
<div class="row">
<div class="col-lg-12" style="margin-bottom: 10px;">
<p style="margin-bottom: 0;">在测试集上的阳性预测率</p>
<img src="{{ url_for('static', filename='images/ppv_sevxray.png')}}" height="160px" width="700px"
alt="">
</div>
</div>
<div class="row">
<div class="col-lg-12">
<p style="margin-bottom: 0;">在测试集上的灵敏度</p>
<img src="{{ url_for('static', filename='images/sens_sevxray.png')}}" height="160px" width="700px"
alt="">
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock %}