Read individual pixel per snapshot

Hi there!

Is there the posibility of take individual pixel value without taking the whole picture?

Im aware of the function sensor.snapshot().get_pixel()
but this is too slow for my purpose, I dont need the whole picture and then read the pixel value.

I need to capture just one (or few) pixel at the time, treating the sensor just like a matrix and avoid reading a lot of pixels to make it go faster.

Is this possible?

That’s no how cameras work. They spit out the the image line by line. We then gather the image into SRAM.

Our current code is literally does this as fast as you possibly can. The only way to speed up would be to inject code in the line callback that receives the data. However, we use a DMA accelerated system so the processor is not interrupted while image capture is taking place.