@/app.route(‘/myapp/detectObjects’,methods = [‘POST’])
def detect():
imge = request.files.getlist(“image”)
img = imge[0].filename
req = requests.post(‘http://127.0.0.1:5000/give‘,json={“image”:img})
return req.json()
submitted by /u/Savings-Stop-3300
[visit reddit] [comments]