Capture Screenshot in UnrealPython and load the image to PySIde

Hi folks,

As the title explained, I would take a screenshot by pressing a button on PySide UI then load the image captured to the UI>
I got stuck in the process of capturing image not proceeded synchronously with main thread of python UI. That leads the main UI can’t load the image because the UI not detect the image.