0

I have a python script that create frames from an UDP source (the source send a custom packet containing one row of the frame). After getting a full frame (640x480) I would like to send it to the browser (I should send at least 25fps).

What is the best way to do that?

Thanks.

imAlessandro
  • 61
  • 1
  • 10
  • If you don't need to buffer images you can [use motion JPEG with Python](https://stackoverflow.com/questions/21197638/create-a-mjpeg-stream-from-jpeg-images-in-python). – David Jonsson Jun 28 '23 at 16:27

1 Answers1

0

from my experience one of the quickest way to setup is using flask with cv2 to stream frames to the browser you can follow this tutorial

TeaCup404
  • 11
  • 2