I am about to embark on my first experience with Rasb Pi and I want to utilize the code from this blog on how to stream motion JPEG thru a Python Flask server, Flask Video Streaming Revisited. The blog is written to use with Rasb Pi camera or OpenCV.

Some super basic questions I have... I ordered a Raspberry Pi 3 - Model B+ - 1.4GHz Cortex-A53 with 1GB RAM and I think it has a built in Wi-Fi... Does the Flask server code live on the Rasb Pi device and I would need to configure a Wi-Fi router between the Pi device and a computer/smart phone accessing the Rasb Pi through a web browser?

Ultimately I am hoping to find a simple method to view the Pi camera in a video stream format through multiple devices (smart phone) and I think this seems like the best option to use a Wi-Fi router & flask server. Any tips or help?

Someone also posted a question to this same blog here too: Video streaming via motion jpeg, python3-flask, and the camera module

  • 1
    The Pi B+ does not have built-in wifi. The Pi 3B+ does. Remember this is a question and answer site. One question - one answer.
    – joan
    Jul 25, 2018 at 13:57
  • Cool it looks like I ordered the right model to include wifi adapter: Raspberry Pi 3 - Model B+ - 1.4GHz Cortex-A53 with 1GB RAM
    – bbartling
    Jul 25, 2018 at 15:07

1 Answer 1


A Flask application is not necessary if you simply want to stream frames from the Raspberry Pi camera module to one or more clients. Instead, you might want to look into streameye. In comparison to the blog post solution, it also uses MJPEG to compress and stream each frame as a JPEG image over HTTP.

Of course, your clients must be connected to the same (WiFi) network as the Raspberry Pi in order to view the stream.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.