Reading Camera Data pixel by pixel (Open CV?)

Hey,

I am wondering if there is a way to read the “view of a camera” pixel by pixel, or even better directly converting it into an Open Cv Mat-Object.
I only found several tutorials on how to read a webcam and how to work with this data.

Thank you in advance!

Look at render to texture: https://docs.unrealengine.com/latest/INT/Engine/Content/Tools/RenderToTextureTools/Setup/index.html

Then do what you want with the pixels of the texture.

thank you very much i will have a look at it and report back whether worked for me!

So i got something going where I project the Camera View onto a Box (Via ScreenCapture2D). But i truly have no idea how to access the Render Target. There are answers that helped other people (like here: How can I programmatically access the contents of a Render Target? - Cinematics & Media - Epic Developer Community Forums) but i really have no experience with Unreal Engine so I was wondering wheter there is something like a list which stores all Objects in the current level which i can acces and via the Object found in this list i can access its texture? Ist this possible?

thanks in advance