Open Lucas-Mantuan opened 1 year ago
Hello Lucas-Mantuan,
my collegue checked your code and was able to execute it after modifying the line here;
def video_feed(): return Response(frame_handler(), mimetype='multipart/x-mixed-replace; boundary=frame')
You just need to give the frame_handler cam and frame as an argument and it should run.
Cheers,
Teresa
Hey, all.
I need to use asynchronous mode to streaming frames from camera using flask.
Below is my code, based on 'Examples/asynchronous_grab.py' and the flask code I got this reference: https://towardsdatascience.com/video-streaming-in-web-browsers-with-opencv-flask-93a38846fe00.
I'm facing this error when I open the local server, but I can't find out a way to resolve it. Hope somebody can help me with this issue.
Observations: I'm using a USB-camera model