I want to run python3 code that is continuous (for camera frame grabbing). NodeRed is my main control program, so looking for a seamless way to integrate. Ultimately I am pushing the result image to mqtt or a webpage (doing MQTT using Paho and webpage using ImageZMQ right now).
Is there a way to do one of the following:
- Run continuous code using python3 function, returning control to NodeRed between loops
- Start/stop separate application from within NodeRed (maybe with python3 node returning process handle, ZMQ or MQTT to get image/result packet into NodeRed)