Live stream(export from UE 5.1 and read by cv2 in python)

Hi guys, I want to export Live stream of UE5.1 Viewport that is capturing by Camera, and I want to write a code in python to get the Live stream and show that, But I don’t know ,how?! May you guide me. thank you

1 Like

Hey there @Razi-lmmv! There’s a myriad of ways to get viewport output outside of UE, it just depends on your use case. If cv2 can take the data raw then Texture Share could work:

1 Like

thank you so much, I tried that, but it uses of C++ and unfortunately My visual Studio doesn’t work and I have to use python API.
do you know how can I do that only with blue print? and also with command in python receive the "texture share?
or do you have another suggestion?
thank you for your helping

1 Like