Calculating NDVI

Hello,
I’m trying to calculate NDVI for plants health, NDVI is basically about detecting (NIR) Near InfraRed And Red lights that reflects from the plants. i have OpenmvH7 plus with IR lens, I need to know the amount of NIR and Red light from the OpenMV cam is that possible?
NDVI value is (NIR-Red)/(NIR+RED)

and can i use the camera to see only plants? I think if I replace the RED lights value with the NIR values it might be possible in grayscale maybe.

Thank you alot for your great work and new products.

I guess you could shine the IR LEDs on plants in a dark room and then look at the red channel from the RGB565 image. So, it’s possible… but, you probably want a more scientific instrument for this.