【发布时间】:2019-01-03 11:11:32
【问题描述】:
我正在使用烧瓶和 python3 在服务器上上传视频。结果保存为 format(filename)+result.jpg ,其中 filename 是视频名称
在使用字符串附加 result.jpg 之前,此图像结果在带有 url /video_feed 的浏览器上可见 我现在如何访问 url 以查看 result.jpg
@app.route('/video_feed_now')
def video_feed_now():
#return send_file('result.jpg', mimetype='image/gif')
return send_file(format(filename)+'result.jpg', frame)
【问题讨论】:
标签: python-3.x flask query-string