Skip to main content

An open-source computer vision framework to create and deploy computer vision applications that scale in minutes

Project description

Pipeless Core

Pipeless is a computer vision framework to quickly create and deploy applications that process real time streams. The Pipeless Core is the core component of the framework.

The Pipeless core is split into several components:

  • input: Receives the media streams, demux and decode the streams.
  • worker: Receives raw media frames, either audio or video frames, and processes them according to the user provided app
  • output: Receives the processed raw media frames, encodes and mux them into the proper container format for the output protocol provided by the user

System Dependencies

  • Gstreamer 1.20.3. Verify with gst-launch-1.0 --gst-version. Installation instructions here

Python dependencies

  • Poetry: find the installation instructions here

Installation

pip install pipeless-ai

Development

To test your changes run the following command from the project root directory:

python -m pipeless_ai.core <component> [app_file_path.py]
  • <component> can be input, worker, output, or all (default)
  • app_path is required for the worker component and must be the path to the app.py (including app.py)

For simplicity, it will load a mock configuration (hardcoded) at src/pipeless/pipeless.py that you can edit for your use case. The hardcoded configuration will only be used when launching the components with the command above, it won't affect testing with the CLI.

In order to debug, you can set the configuration log_level to DEBUG. If you find an error related to GStreamer and no useful information has been logged, try using the env var GST_DEBUG=5 to enable GStreamer to debug logs. Refer to this page for more information about GStreamer debugging.

Manual Testing

In order to test your changes, start the virtualenv:

poetry shell

After that, go to the cli directory and run poetry install to install the pipeless-ai-cli (CLI) component. Then go to the core directory and run poetry install to install the pipeless-ai module. This will override the upstream dependency from the CLI component to use your local one.

Verify your environment by ensuring the pipeless modules are pointing to your local directories instead of the PyPi public modules:

pip list | grep pipeless

With that, you should be able to run pipeless run with your changes.

Project details


Download files

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

Source Distribution

pipeless_ai-0.1.19.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

pipeless_ai-0.1.19-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

Details for the file pipeless_ai-0.1.19.tar.gz.

File metadata

  • Download URL: pipeless_ai-0.1.19.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-1015-azure

File hashes

Hashes for pipeless_ai-0.1.19.tar.gz
Algorithm Hash digest
SHA256 bdc5876a6a8b752a78eb33721ea2b709170927d87670d558eb4d1db4faaa810d
MD5 c04d4376af2cbeb65b56d2c1f9d180a4
BLAKE2b-256 a135918966a512ff46641b217e8169aba0c5df08017f63816379570a23e4c0e1

See more details on using hashes here.

File details

Details for the file pipeless_ai-0.1.19-py3-none-any.whl.

File metadata

  • Download URL: pipeless_ai-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 35.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-1015-azure

File hashes

Hashes for pipeless_ai-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 97cf6fe37687fc73f02ea92ecf10838d75ea7a883dd45957f1d8c86430139b57
MD5 f135f7e2c33f39624fc91d02d02d79f6
BLAKE2b-256 9ebdf6b6d2426f2251802a2674751aa85742ff0e9b3ba815af568779d2614275

See more details on using hashes here.

Supported by

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