Skip to main content

Tornado web server image streamer

Project description


An image streamer over the Internet. A tornado backend is used to configure a JPEG image streamer using either server "push" mode, or client "get" mode. All communication is streamed using HTML5 websockets for maximum throughput.

Technolgies used

Client side:

  • jquery
  • websockets
  • HTML5

Server side:

  • Python3 (Python2 is not supported)
  • Tornado (WebSocketHandler)
  • PIL
  • numpy
  • opencv

Basic Installation

Activate a Python virtual environment and execute the following command,

pip install -U tornado-image-streamer

Test the application,

tornado_image_streamer --simulate

Linux Developer Installation

Install a virtual environment,

mkdir ~/venv
cd ~/venv
python3 -m virtualenv --python=/usr/bin/python3 tis_env
source tis_env/bin/activate

Activate the virtual environment,

source ~/venv/tis_env/bin/activate

Install this package,

pip install -U -e git+

Test the application,

python test2/src/tornado-image-streamer/tornado_image_streamer/ -s

User installation

In your current python3 environment execute the following,

pip install -U git+

Test the application,

tornado_image_streamer --help


$ tornado_image_streamer --help
Usage: tornado_image_streamer [OPTIONS]

  Tornado web server that streams webcam images over the network.

  -p, --port INTEGER     IP port used for the web server (default: 8888)
  -s, --simulate         Enable simulated camera.
  -m, --mode [get|push]  The mode of operation (default: push).
  --help                 Show this message and exit.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tornado-image-streamer, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size tornado_image_streamer-0.4-py2.py3-none-any.whl (38.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page