What flow design would be the best to use when using with Telegram bot?
I thought about one python script that runs DepthAI with a while loop, retrieving frames and processing them + another python script to handle the Telegram bot.
Another option is using a single python app that uses both depthAI and Telegram bot, but uses two threads for the two processes.
I need to create some communication between the telegram bot callbacks and the OAK1's detections from the cam.
Instead of a while loop, can I just trigger the "tryGet()" method to receive the frames whenever the telegram bot triggers it?