You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
697 B

<!DOCTYPE html>
<html lang="ch">
<head>
<meta charset="UTF-8">
<title>边缘检测与增强</title>
</head>
<body>
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
<input type="file" name="img">
<button type="submit">上传</button>
</form>
<p1>原图</p1>
<br>
{# {% for img in imgs %}#}
{# <img src="{{ img.img.url }}" />#}
{# {% endfor %}#}
<img src="{{ img.img.url }}" alt=""/>
<br>
<p1>gradient</p1>
<br>
<img src="/media/SHARP/gradient.png" alt="gradient.png"/>
<br>
<p1>sharp</p1>
<br>
<img src="/media/SHARP/sharp.png" alt="sharp.png"/>
<br>
</body>
</html>