How do I read the actual pixel values taken by sensor.snapshot()?

I have read all the documentation about the sensor class, allowing to call frame rates and allocation more or less of a frame buffer, but I can’t seem to find a way to simply read the sensors pixel values inside the image object. I just want to average the entire frame to one value so I can track that over time. Is it really not possible? Im using the OpenMV H7 R2, and IDE btw

Image.get_pixel()…

dear friend are you trying to get the mean values of r, g, b in a frame?
if yes please use img.get_statistics.
then you will get the mean lab values.
there is image.lab_to_rgb if you want rgb values though.

I cant seem to find how to use this properly. Im using it for a grayscale image. But I keep getting ‘AttributeError: ‘module’ object has no attribute ‘get_statistics’’ I don’t know what I’m doing wrong

what did you try so far?
how you have the grayscale image?
please post the code so maybe we can help.

You have to call the method on an image object.