| 123456789101112131415161718192021 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>上传图片进行识别</title>
- </head>
- <body>
- <h1>上传图片识别</h1>
- <form action="" enctype='multipart/form-data' method='POST'>
- <input type="file" name="file" style="margin-top:20px;"/>
- <br>
- <input type="text" class="txt_input" name="name" style="margin-top:10px;"/>
- <input type="submit" value="上传" class="button-new" style="margin-top:15px;"/>
- </form>
- <h1>输入内容:{{userinput}}!</h1>
- <br>
- <h2>result: {{result}}</h2>
- <br>
- <img src="{{ url_for('static', filename= './images/' + img_name, _t=val1) }}" width="400" height="400" alt="你的图片被外星人劫持了~~"/>
- </body>
- </html>
|