Simple question.
I want to grab an image from the camera and store it as pixel rgb values + alpha channel maybe also if it’s possible in a 2d array as pixel number values.
Is it possible.
I have looked everywhere but can’t seem to find this, how to store rbg pixel data inside a 2array or a 3d array from a camera capture.
Grab the camera image, convert it to pixel image data and put it inside an array (rows and columns)
The devs don’t have any documentation on this, I can’t seem to find anything, there are all sort of arrays none of them talk about storing pixels (rgb values) inside an array
- Take the picture.
- Get/read the pixels from the image
- Store them in array.
If it’s possible I would like to get the pixels where camera projects like a security cam, from a render target texture, if not from camera directly if it’s not possible.
Thank you.