OperationalBina / PipeRT

MIT License
11 stars 7 forks source link

Message methods should not use hardcoded component names #61

Open sionovd opened 4 years ago

sionovd commented 4 years ago

Currently the Message class (core/message.py) assumes a few things about how the pipeline looks at runtime: that the VideoCapture is the input component, and that the FlaskVideoDisplay or VideoWriter is the output component.

We need to remove these assumptions from the code by checking the configuration of the pipeline (using the pipeline manager, or by reading from the pipeline config file if/when there will be one). Then we would easily know which components are active and in what order.

Depends on #56