NIR is the average of color signal in the
wavelength of 800 to 1000 nm. R is the average of
color signal in the wavelength of 560 nm to 670 nm
range. The value of NDVI is in the range of +1 and -
1. NDVI value close to zero indicates that the health
of the plant is not god, while NDVI value +1 means
the plant is in good health condition. Figure 1 shows
the NDVI color range and its value.
Figure 1: NDVI color range.
Nowadays, the standard normal camera usually is
equipped with NIR blocking filter. The reason is that
the NIR light can make the photos taken from that
camera become unnatural. There are many ways to
make the camera can capture NIR light. The first
method modifies the lens of camera to unblock the
NIR light (Beisel et al., 2018; Rabatel et al., 2011;
Variyar et al., 2015). This method is sometime very
difficult. In some cameras, the lens is so small and
brittle. Modify the lens can make the camera broken
and unusable. The second method is to use a
specialized camera (Ritz et al., 2020; Vidoni et al.,
2017). This camera is made specially for capturing
NIR light. This camera is solution for who do not
want to modify the lens. However, the price of this
camera is so high. This camera is also rarely found on
many countries’ local market.
Distinct studies demonstrated that NDVI can be
measured by using only single camera (Rabetel et al.,
2011). The camera used by Rabatel et al. (2011) is a
Single Lens Reflect (SLR) Camera which is modified
by removing its Near Infrared Blocking Filter. This
modification is not easy. One must understand the
camera body parts and lenses. One mistake can make
the camera unusable. Another research from Glenn et
al. (2018), showed the measurement of NDVI by
using single Pi Noir Camera. This camera is a special
camera built for raspberry pi. This camera does not
employ an Infrared Filter, so that the resulting image
contains infrared information that is reflected by
objects. In spite of that, this camera stiil need a blue
filter. The Glenn NDVI measurement is calculated by
using NIR value and blue value. This means, Glenn
et al. measured blue NDVI in their research. Many
researches showed that NDVI calculated using blue
spectrum has less good result than using red
spectrum.
The development of the mini PC technology has
encouraged the use of the mini PC as the main
computer in monitoring plants. Wang et al. (2020)
have conducted research on the use of raspberry pi
and pi noir camera to see the NDVI value of corn
plants. At a cost of only 70-85 USD, they managed to
capture NDVI values as well as predict nitrogen
levels precisely. The Pi Noir camera as a camera to
monitor NDVI is also used by Avotins et al. (2020)
and Bicans et al. (2019). Avotins et al. (2020) uses the
Raspberry Pi Model 3 as the main computer to
capture and process the images. The captured data is
then sent using an internet connection to the cloud.
NDVI values, which are numbers, sometimes
cause the reader to have difficulty understanding
them. Therefore, Wijitdechakul et al. (2017) grouped
plant index values such as NDVI, NDWI, and SAVI
into semantic keyword groups. So that it can be
concluded directly by the system whether the plant is
drought, or the soil moisture of the plant is not good.
In this research, we propose NDVI calculation
by using two cameras. The first camera is standard
webcam camera, and the second is Pi NoIR Camera.
We use raspberry pi as a main image processor. From
the first camera, the red pixel information obtained
and from the second camera, The NIR pixel
information is obtained. The tests are carried out on
several conditions of leaf. The results are grouped in
several keywords such as “Healthy”, “Unhealthy”,
and “Dead”. These keywords are then showed to the
user via web applications.
2 METHODOLOGY
In this project, two cameras are used. The first camera
is standard RGB camera and the second one is Pi
NoIR camera. Figure 2 shows the system used in this
project. As an image data processor, Raspberry pi
type B is used. Rapsberry pi captures image from two
cameras. These two cameras have different resolution
and different view angle. Before image being
processed, the two images (stereo image) need to be
matched. After these images matched, the red pixel
information is extracted from first RGB camera.
Then, the NIR pixel information is extracted from
second camera.
Figure 2: Raspberry Pi system.