Skip to main content

Tornado web server image streamer

Project description

tornado-image-streamer

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+https://gitlab.com/hsmit/tornado-image-streamer.git#egg=tornado_image_streamer

Test the application,

python test2/src/tornado-image-streamer/tornado_image_streamer/run.py -s

User installation

In your current python3 environment execute the following,

pip install -U git+https://gitlab.com/hsmit/tornado-image-streamer.git#egg=tornado_image_streamer

Test the application,

tornado_image_streamer --help

Usage

$ tornado_image_streamer --help
Usage: tornado_image_streamer [OPTIONS]

  Tornado web server that streams webcam images over the network.

Options:
  -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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tornado_image_streamer-0.5-py2.py3-none-any.whl (39.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tornado_image_streamer-0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: tornado_image_streamer-0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 39.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for tornado_image_streamer-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 57c92809b7d903de29a8fd8b5930e4bb8bcfa88287c8547134091e2f17a1a8cd
MD5 79d7eeadc15226d1edf49f4851ee2822
BLAKE2b-256 eaeb520104493cf4c2fdf4a2a13994ee708c97270f8bedac8528cbf47b16da03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page