/ImageStreamer

This repository contains integration example scripts of image streaming with different servers like flask, fastapi, etc.

Primary LanguagePython

ImageStreamer

This project demonstrates how to implement image streaming using various popular Python web frameworks: Flask, FastAPI, and Tornado. It allows you to efficiently transmit and display images over HTTP, which can be useful in applications such as video streaming, real-time image processing, and more.

Features

  • Efficient streaming of images over HTTP.
  • Support for multiple web frameworks: Flask, FastAPI, and Tornado.
  • Demonstrates different approaches to image streaming using each framework.
  • Simple and easy-to-understand code examples.

Prerequisites

  • Python 3.7 or higher.
  • Flask, FastAPI, and Tornado frameworks.
  • OpenCV for image manipulation.
  • Ultralytics for computer vision feature - extra hand

Getting Started

Installation

git clone https://github.com/your-username/image-streaming.git
cd image-streaming
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

Start Web Server

python3 main.py

Open your web-browser and visit following URL: http://localhost:8000/video_feed