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.
Currently the
Message
class (core/message.py
) assumes a few things about how the pipeline looks at runtime:that theand that theVideoCapture
is the input component,FlaskVideoDisplay
orVideoWriter
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