0

I have two python scripts A and B to record(and process) video from 2 cameras. When I start these scripts, a new python process starts to show the live feed. Now while recording, I send results from both A and B to script C. Script C decides which video feed should be shown(A or B).

How can I achieve this? Basically, all I want to do is to control the visibility of the Python processes with a command.

Thanks for the help.

ZdaR
  • 22,343
  • 7
  • 66
  • 87
Vipul J
  • 6,641
  • 9
  • 46
  • 61
  • Do you need to interact with the scripts once they start running? –  Mar 23 '18 at 06:40
  • @ConfusedByCode With A and B - No. I just have to bring their corresponding python process back and forth. – Vipul J Mar 23 '18 at 06:46
  • Can you just run A and B in the background and keep C in foreground? –  Mar 23 '18 at 06:48
  • C is not doing anything, when I run A and B, they start a python process to display the live video feed. So the job of C would be to bring in front the right python process(spawned either from A or B) – Vipul J Mar 23 '18 at 06:54

0 Answers0