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 appoutput: 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 beinput,worker,output, orall(default)app_pathis required for theworkercomponent and must be the path to theapp.py(includingapp.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.
Metadata
Release files for pipeless-ai 0.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pipeless_ai-0.1.19.tar.gz | 29.6 kB | Without provenance | Details for pipeless_ai-0.1.19.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pipeless_ai-0.1.19-py3-none-any.whl | Python 3 | none | any | Details for pipeless_ai-0.1.19-py3-none-any.whl |
Total release size: 65.3 kB
Release files / pipeless_ai-0.1.19.tar.gz
| Download URL | pipeless_ai-0.1.19.tar.gz |
|---|---|
| Size | 29.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdc5876a6a8b752a78eb33721ea2b709170927d87670d558eb4d1db4faaa810d
|
|
BLAKE2b-256 checksum How to use checksums |
a135918966a512ff46641b217e8169aba0c5df08017f63816379570a23e4c0e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-1015-azure
|
Release files / pipeless_ai-0.1.19-py3-none-any.whl
| Download URL | pipeless_ai-0.1.19-py3-none-any.whl |
|---|---|
| Size | 35.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97cf6fe37687fc73f02ea92ecf10838d75ea7a883dd45957f1d8c86430139b57
|
|
BLAKE2b-256 checksum How to use checksums |
9ebdf6b6d2426f2251802a2674751aa85742ff0e9b3ba815af568779d2614275
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-1015-azure
|
Security for pipeless-ai 0.1.19
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.