I am writing an AI program in Python on a raspberry pi, where I need to access raw individual pixel values from a raspberry pi camera. I really don't want to save the picture, I want to process the raw pixel information from one pixel to the next.

  • How is the image data stored? What module are you using to load/capture the image? The way to access pixel RGB values varies according to the datatype.
    – user96931
    May 24, 2019 at 18:38
  • I am using a raspberry pi 3 B+. The datatype I would like to use is RGB. I am hoping I don't have to store the image data.
    – E. G. F.
    May 25, 2019 at 0:31
  • 1
    There isn't any known way (that I could find) to access the Pi Camera's data before it saves, however this answer talks about making a RAM disk and saving the image to that, so it's never truly saved in storage. May 28, 2019 at 1:49


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.